| Thread | Last Post | Replies |
|
| ID Assignment? | 28 Feb 2007 08:59 GMT | 3 |
I would like to know more about how the ASPNET runtime assigns unique control IDs to the controls on a page. I'm curious because it doesn't appear to be "fixed"...which causes problems with composite controls which contain controls doing postbacks. Here's what happened to me: I ...
|
| Question about a user control derived from DropDownList | 26 Feb 2007 07:10 GMT | 2 |
I posted this in a different group yesterday with no responses, so I'll try here. I have a simple control that is in a CS file (not ASCX). It is derived from DropDownList like this
|
| Custom Composite Control inherited from TextBox | 25 Feb 2007 18:49 GMT | 2 |
I'm trying to create my own custom control based on the textbox, but with additional properties to specify whether or not the textbox is a required field, and if its needs to be validated against a regular expression. I'd also like it to change its backcolor and be focused on
|
| Change the tag prefix of a custom control | 25 Feb 2007 17:23 GMT | 6 |
How can I change the tag prefix of a custom control. My Asp.Net 2.0 custom control tag prefix is cc1. Thanks, Miguel
|
| Custom Image Button help. | 25 Feb 2007 01:54 GMT | 2 |
I am trying to extend the default asp:ImageButton to include an image for an enabled state and a second image for a disabled state. I currently did this by extending the ImageButton class in a custom control, creating a property for each of these images (EnabledImageUrl, ...
|
| Updating Custom Control at Design Time | 24 Feb 2007 04:55 GMT | 3 |
Okay, I'm confused: I have a custom composite control which has several "steps". I've created the DesignerActionList infrastructure to move between the steps at design time. The methods that control the movement get called, the "step state" gets changed...but the design surface ...
|
| Custom controls in a Formview | 22 Feb 2007 12:04 GMT | 1 |
I have a custom control in a Formview. This custom control consists of a textbox, a label and some code-behind. The code behind generates a codenumber in the label based on a database and the entry in the textbox. Everything works fine. I bind with two properties the textbox and ...
|
| Persisting Child Controls, Property Collections and Individual Properties | 22 Feb 2007 09:31 GMT | 1 |
I have a custom composite control whose markup needs to contain child controls, an array property, and simple properties, all as nested tag elements, e.g.: <cc1:MyComposite runat="server" id="whatever" SimpleProp1="somevalue"> <ChildControls> <-- this is a property collection, of ...
|
| Designers Not Called for Child Controls | 22 Feb 2007 04:01 GMT | 3 |
In design-mode, when my databound composite control creates its child controls and adds them to its control collection, the designers for the newly-created child controls (which are also composite databound controls) don't get called. Why is that? I thought the designer was always ...
|
| Masquerading as a Different Control at Design Time | 21 Feb 2007 03:29 GMT | 3 |
I'm building a custom control which is essentially a customized version of the Wizard control, although it doesn't derive from the Wizard class. It's designed so that you can add a sequence of a limited number of types of steps to the control (e.g., an Introduction step, a ...
|
| Exposing Inner Controls at Design Time | 20 Feb 2007 05:57 GMT | 2 |
I'm building a custom control which is essentially a customized version of the Wizard control, although it doesn't derive from the Wizard class. It's designed so that you can add a sequence of a limited number of types of steps to the control (e.g., an Introduction step, a ...
|
| Want to add row under selected row of gridview | 16 Feb 2007 19:14 GMT | 1 |
I used to know how to hijack the last cell of a datagrid when it's selected but can't seem to with a gridview. It's been a while, but I seem to remember adding something like this "</td></tr><tr><td colspan=4>testinghere</td></tr>" to get another row that I could
|
| Designer Support for Derived Wizard Class | 16 Feb 2007 16:09 GMT | 2 |
I've written a "SmartWizard" class that essentially adds initialization and exit handlers for the individual steps, allowing for easier control over how a user walks through the wizard. But I've run into a problem with the design-time support. With a regular Wizard, clicking on a ...
|
| Complex Property with Subproperties Crashing VS2005 SP1 | 16 Feb 2007 15:16 GMT | 4 |
I'm in a bit of a pickle here: I've got some kind of problem involving persisting some complex properties on a custom control, but because VS2005 SP1 keeps crashing when it encounters the problem I'm at a loss as to how to figure out what's wrong. Here's a sketch of the custom ...
|
| Set readonly property on cell level in a datagridview | 16 Feb 2007 01:30 GMT | 3 |
I have a datagridview column that will contain both editable and non-editable values. I have set the columns readonly property to true. I then use the AddRows event to check the value of an hidden column and if that is false i set a specific cells readonly property in the column ...
|