c# - RadioButtons are not mutually exclusive, despite same GroupName (ASP.NET) -


i using listview, represents list of products 1 of them should chosen. in itemtemplate, gave radiobutton same groupname property in order them mutually exclusive. however, not work right of products can chosen @ once. doing wrong? thanks

<itemtemplate>   <li class="product" id='<%#eval("productid")%>'>     <asp:radiobutton groupname="products" id="radiobutton1" runat="server" />   </li> </itemtemplate> 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -