Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Dave #1
Custom RadioButtonList and modifying HTML?
The HTML generated by the RadioButtonList contains a table structure as:
<table id="rbList1" border="0">
<tr>
<td>rb1</td><td>rb2</td><td>rb3</td>
</tr>
</table>
If I create a custom control inherited from the RadioButtonList, can modify
the table (including <td>) elements before it's rendered? I want to add style
attributes to the <td> in order to have equal spacing between the
radiobuttons when displayed horizontally?
Dave.
Dave Guest
-
Custom HTML Items
I just started administering contribute and was wondering if I were to make a contentbox "div with an id styles by CSS" could a person using... -
Custom RadioButtonList with Attribute support for ListItem
I found the listitem class was sealed, and can't get tooltips for radio button in a radionbuttonlist, apparently this is by design.. ... -
Parsing InnerProperties after modifying HTML (design time)
Hi all, In my custom control, I have a property derived from BaseCollection. At design time, the property shows as (Collection) in the Properties... -
VS.NET hangs momentarily when modifying a control's ID within HTML View
I am using VS.NET 2002. Whenever I am in HTML view and i modify let's say an asp hyperlink's ID to myHyperlink. After I am done typing my text., the... -
custom layout : RadioButtonList
Hi! I'm wondering how I can add extra html to a radiobuttonList, so that I can control how: -the whole radioButtonList is rendered. -each of... -
jebecker@_NO_SPAM_.pointroll.com #2
RE: Custom RadioButtonList and modifying HTML?
Well, you could override the Render method in your derived class, or build a
Control Adapter for the base control to do the re-rendering.
"Dave" wrote:
> The HTML generated by the RadioButtonList contains a table structure as:
>
> <table id="rbList1" border="0">
> <tr>
> <td>rb1</td><td>rb2</td><td>rb3</td>
> </tr>
> </table>
>
> If I create a custom control inherited from the RadioButtonList, can modify
> the table (including <td>) elements before it's rendered? I want to add style
> attributes to the <td> in order to have equal spacing between the
> radiobuttons when displayed horizontally?
>
> Dave.jebecker@_NO_SPAM_.pointroll.com Guest



Reply With Quote

