Hi
I'm not sure if this is a problem as I cant find anything simialr so it must be me, but here goes-
I have this on my page to create a radio button list from my data, I'n doing it this way because I want to assign javascript to each node on load that I cant seem to do with a radiobuttonlist.
The radio buttons whilst being rendered dont behave like radio buttons, ie I can select them all. this is what is being rendered:
the groupname isn't being written out.
Now this control is inside a RadPanelBar which is causing me other problems, but should this work or have I midssed something?
Andy
I'm not sure if this is a problem as I cant find anything simialr so it must be me, but here goes-
I have this on my page to create a radio button list from my data, I'n doing it this way because I want to assign javascript to each node on load that I cant seem to do with a radiobuttonlist.
<asp:DataList ID="test" runat="server" RepeatDirection="Vertical"> <ItemTemplate> <telerik:RadButton ID="RadButton1" runat="server" EnableEmbeddedSkins="false" Skin="Activity" ButtonType="ToggleButton" ToggleType="Radio" GroupName="Refer" Text='<%#Eval("Name") %>'></telerik:RadButton> </ItemTemplate> </asp:DataList>The radio buttons whilst being rendered dont behave like radio buttons, ie I can select them all. this is what is being rendered:
<td><a id="rpbOutcomes_i1_test_ctl05_RadButton1" class="RadButton RadButton_Activity rbToggleButton" href="javascript:void(0)"><span class="rbPrimaryIcon rbToggleRadio"></span><span class="rbText">test244</span><input id="rpbOutcomes_i1_test_ctl05_RadButton1_ClientState" name="rpbOutcomes_i1_test_ctl05_RadButton1_ClientState" type="hidden" /></a></td>the groupname isn't being written out.
Now this control is inside a RadPanelBar which is causing me other problems, but should this work or have I midssed something?
Andy