Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Roman Puttkammer #1
customizing attribute values for control properties
Is there somewhere an example on how to customize the serialization of control
properties to aspx/ascx control attributes?
I've implemented designer support for my control properties using TypeDescriptor
and TypeConverter classes. Editing the propery values for array properties works
well in designer, however setting the attributes in the aspx/ascx page doesn't work
correctly.
<c:MyControl>
<MyProperties MyArray="String[] Array"/>
</c:MyControl>
Obviously the value "String[] Array" isn't what I've entered into the array editor.
How does the designer generate the attribute values? Is there a way to customize it?
Roman Puttkammer Guest
-
How to get the attribute values out?
Hi everyone, <root> <category name="Mens Clothing" id="0"> <subcategory>Active/Baselayer Tops</subcategory> <subcategory>Active/Baselayer... -
Gridview Control and Customizing Column Displays
> I want it to show in Column 1, a customized version of the data... Don't autogenerate the columns. For the Column1, make it 'HyperlinkField'... -
How do I validate the values entered for custom control properties?
I have a custom control with properties named MinValue, MaxValue, and Value (all of which I have assigned a DefaultValue design-time attribute). The... -
Default Values for Control Properties
I have a custom control that has a bunch of properties on it. I added the DefaultValue attribute to it and it all seems to work fine with showing... -
Making Custom Control Properties Visible in Visual Studio's Properties Palette
I am learning how to use the System.ComponentModel class in VB.NET so that I can add my ASP.NET controls to Visual Studio .NET 2003. I have managed...



Reply With Quote

