nkoriginal
asked on
Radiobutton in listview
Helllo folks I need some help.
I've a listview with a radiobutton (single), then run my page, and when I select one radiobutton, I can select all the other radiobutton in the listview. So I can have all selected and that's impossible.
I tried everything.
Here is my code
Thanks in advanced for any help
I've a listview with a radiobutton (single), then run my page, and when I select one radiobutton, I can select all the other radiobutton in the listview. So I can have all selected and that's impossible.
I tried everything.
Here is my code
Thanks in advanced for any help
<asp:ListView ID="lvOfrendas" runat="server" DataSourceID="odsOfrendas" EnableModelValidation="True">
<EmptyDataTemplate>
<span><br /></EmptyDataTemplate>
<LayoutTemplate >
<asp:PlaceHolder id="itemPlaceholder" runat="server" />
</LayoutTemplate>
<ItemTemplate>
<label>
<asp:HiddenField ID="HiddenImgId" Value='<%# eval("ImgIdCyO") %>' runat="server" />
<asp:RadioButton ID="rb_img" GroupName="of" value='<%# eval("ImgIdCyO") %>' runat="server" />
<asp:Image ID="Img_Ofrenda" ImageUrl='<%# "../imagenes/" & eval("ImgNombre") %>' runat="server" />
</label>
</ItemTemplate>
</asp:ListView>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.