| Initializing controls (4 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| If I create a simple asp.net test program, and add a control (e.g., a button), and put in event handlers for init, load, and pre render, the load and pre render events are trapped, but the init event never seems to fire. Code put into the event handler for init (e.g., a trace.write statement) does not execute. What am I misunderstanding? Shouldn't this code execute when the page is loaded? Jesse L... |
|
| IPostBackDataHandler not being acknowledged (3 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| SSBoYXZlIGEgY29udHJvbCB0aGF0IGluaGVyaXRzIGZyb20gV2ViQ29udHJvbCwgYW5kIGltcGxl bWVudHMgSU5hbWluZ0NvbnRhaW5lciBhbmQgSVBvc3RCYWNrRGF0YUhhbmRsZXIuDQogDQpUaGUg Y29udHJvbCByZWdpc3RlcnMgYSBoaWRkZW4gaW5wdXQgZmllbGQsIGFuZCBMb2FkUG9zdERhdGEg aXMgbWVhbnQgdG8gbG9hZCBhbnkgY2hhbmdlcyBmcm9tIHRoZSBoaWRkZW4gaW5wdXQuDQogDQpo b3dldmVyLCBteSBMb2FkUG9zdERhdGEgaXMgbmV2ZXIgY2FsbGVkLg0KYW55Ym9keSBoYXZlIGFu eSBpZGVhcyB3aHk... |
|
| Control Usage Order Problem (5 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| I have a control on a page as well as a table above it. The table shows a list of records in a database table and the control below it provides an editor interface it for adding, editing and deleting records. The code I am using for loading the control and the tables is as follows: private void Page Load(object sender, System.EventArgs e) { AdminEditor Editor1 new AdminEditor(); Editor1.ConfigFile... |
|
| BaseDataList (9 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| Has anyone successfully create a control that inherits from BaseDataList (the object that DataGrid and DataList inherit from)?????? Supposedly you have to implement a method called 'CreateControlHeirarchy,' but this is what the SDK has to say about CreateControlHeirarchy: This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Right.... cause ... |
|
| Suppress Attributes (3 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| Is there any way to get a System.Web.UI.HtmlControls.HtmlGenericControl to not render the ID given to it? Thanks, Ryan [This E mail scanned for viruses by Declude Virus] |
|
| OnComponentChanged/Events not fired at DesignTime with Custom Control/Designer (4 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| I'm creating a custom web control to be modified in the VS designer. I'm using a very simple class to get my feet wet. The AngelPage (extends WebControl) which exposes a custom class, DefaultHeader. I'd like to modify the DefaultHeader properties at design time. In addition to these two classes, I've also created a TypeConverter and a ControlDesigner (PageDesigner) class. I have two basic problems... |
|
| onclick attribute for CheckBox (16 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| i want to create my own clientside onclick handler for a WebControls.CheckBox in a composite control. so i code: checkBox.Attributes["onclick"] 3D "return false;"; but the rendered html has the onclick attribute in a span tag surrounding the input tag. this is certainly NOT the desired behavior. how do I force the onclick handler into the input tag? Andy Smith Keyboard Jockey #3a7 2.78.1 |
|
| How can I detect the webform layout type? (5 replies) |
| ASPFriends.com 'aspngcontrolscs' list |
| Hello, 20 Sorry to sent the same question twice, but my last one was mangled. I would like to be able to have my server control be able to detect whether or not it has been placed on a webform that is using flow layout or grid layout. I have not had much luckk searching the internet so far for an answer to this, and I was wondering if anyone on this list perhaps had some insight? 20 Thank you, 20 ... |
|