F
Fabio R.
How can I insert a webcontrol in a radiobuttonlist listitem? If I use:
<asp:RadioButtonList id="rbl" runat="server" RepeatLayout="Flow">
<asp:ListItem Value="1" Selected="True">text1</asp:ListItem>
<asp:ListItem Value="2">text2</asp:ListItem>
<asp:ListItem Value="3"><asp:button id="btn" runat="server"
text="Click"></asp:button></asp:ListItem>
</asp:RadioButtonList>
I get an "Error Creating Control" error in design-time for the
radiobuttonlist: 'Items' could not be initialized...
The asp:button it's only for the example, I need to use a custom control
there.
Thanks in advance,
Fabio
<asp:RadioButtonList id="rbl" runat="server" RepeatLayout="Flow">
<asp:ListItem Value="1" Selected="True">text1</asp:ListItem>
<asp:ListItem Value="2">text2</asp:ListItem>
<asp:ListItem Value="3"><asp:button id="btn" runat="server"
text="Click"></asp:button></asp:ListItem>
</asp:RadioButtonList>
I get an "Error Creating Control" error in design-time for the
radiobuttonlist: 'Items' could not be initialized...
The asp:button it's only for the example, I need to use a custom control
there.
Thanks in advance,
Fabio