| Thread | Last Post | Replies |
|
| composite control does not fire event | 19 Jul 2005 07:35 GMT | 2 |
I have an aspx-page, where I load my custom-control (see below). The problem I have is that the event does not fire. I really cant figure out why. Just to know, I derive from System.Web.UI.Control, becaues later on I want to add some more controls, but first I have to solve this ...
|
| Modify the HMTL generated in a user control | 19 Jul 2005 02:16 GMT | 2 |
I have spent ages trying to work this out... I have searched google for ages with different search criteria, tried various methods, all to no avail. I am dynamically placing user control onto the page. Now, the page has a "Text Only" link, so I have to modify the output of the ...
|
| Composite & issues with Viewstate/Enabled property | 19 Jul 2005 00:37 GMT | 1 |
I have pretty simple composite control consisting of a textbox and image control. On the composite control I have defined my own 'Enabled' property which simply calls into the sub-controls and sets their Enabled property. I am inheriting from Web.UI.Control, not
|
| Disable ViewState on base class only? | 19 Jul 2005 00:31 GMT | 1 |
Is it possible to somehow disable the ViewState on the base object but leave the ViewState on within the new object? For example, I have a server control which inherits from DataGrid. I would like to disable the DataGrid ViewState while keeping ViewState enabled for my custom
|
| How do I get a custom Control Designer to write to the HTML of my control? | 19 Jul 2005 00:17 GMT | 1 |
I have created a custom 'Control Designer' that provids a popup dialog for entering more complex properties (such as property builder in the data grid). Once a I have a property defined I can't seem to get the values back to my control. I want to add additional tags to the HTML
|
| programatically get ascx file name | 19 Jul 2005 00:11 GMT | 1 |
Can anyone tell me how to get a string of the file name for an ascx file? On an aspx file, Request.Servervariables["PATH_INFO"] will return the path of the aspx. But if I add that same code to an ascx user control
|
| Event Order | 18 Jul 2005 21:34 GMT | 1 |
Does the load event on the parent page occur after the create child controls event on a custom control?
|
| Accessing Property values in create child controls sub | 18 Jul 2005 21:32 GMT | 1 |
Can I read a control a property within the createcontrols sub and use it there. I am trying to read a value from an XML file to determine what controls to add. When I set the path to the xml file via either a property or a control property it doesn't seem to find the property in ...
|
| Event Fires after CreateChildControls | 18 Jul 2005 15:39 GMT | 1 |
I have created a C# control that creates its objects within CreateChildControls. One of those objects is a button which I have attached to a command event. The command event fires after CreateChildControls runs, but I want the clicking of the button to have an effect on what ...
|
| Control Not remembering property on postback | 18 Jul 2005 12:25 GMT | 5 |
I am having problems getting my customer control to remember properties accross postback. I have tried setting it to a session. What is the recommended way of doing this. I have tried this
|
| Combining Two Controls, best way? | 15 Jul 2005 18:40 GMT | 2 |
I have a working date picker, and I want to combine it at the control level with a textbox and validator, so we can use <my:datepickertextboxthingy/> What is the best way to go about this? I am most concerned with access
|
| Inheriting Custom Control | 14 Jul 2005 20:47 GMT | 1 |
How can I inherit from a custom control. Could anyone point me to some useful resources, Chris
|
| Programmatically Get to User Control Properties | 14 Jul 2005 13:55 GMT | 2 |
I created a User Control, called in an Asp.Net page. First, I've registered the control at the top of the page: <%@ Register TagPrefix="uc1" TagName="MyUC" Src="MyUC.ascx" %> Then, placed the control, as follows:
|
| Composite control: child attributes not rendered | 13 Jul 2005 17:13 GMT | 6 |
I'm writing a composite control inheriting from WebControl and INamingContainer. I'm wrote the control using the composition approach, i.e. I haven't overrided the render method(). The control is very simple. It has 4 linkbutton and a label. Have defined the LabelCssClass ...
|
| IExtenderProvider | 13 Jul 2005 11:38 GMT | 1 |
I have a asp.net contol that implements IExtenderProvider, I notice however that the extra property it adds only works for controls in the WebControl namespace and not those in the HtmlControl namespace. This is not a big issue however as I can handle this in my customised ...
|