Link to home
Start Free TrialLog in
Avatar of dotsandcoms
dotsandcoms

asked on

give groupname of radio button inside repeter

Hello Experts,
   i am facing some problem in giving group name of radio button that is inside repeter please provide me the solutions that how can i do that


Below is the sample code
 <asp:Repeater ID="Repeater1" runat="server">
                                                  <HeaderTemplate>
                                                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                  <tr>
                                                    <td width="4%">&nbsp;</td>
                                                    <td width="13%" class="workshop-text"><span class="bold">DATES</span></td>
                                                    <td width="11%" class="workshop-text"><span class="bold">CITY</span></td>
                                                    <td width="15%" class="workshop-text"><span class="bold">LANGUAGE</span></td>
                                                    <td width="30%" class="workshop-text"><span class="bold">VENUE (Click for details)</span></td>
                                                    <td width="27%" class="workshop-text"><span class="bold">FEES</span></td>
                                                  </tr>
                                                  </HeaderTemplate>
                                                    <ItemTemplate>
                                                  <tr>
                                                    <td colspan="6" height="7"></td>
                                                  </tr>
                                                  <tr>
                                                    <td>
                                                       <asp:RadioButton ID="rbworkshop" runat="server" GroupName="rbworkshop1" />
                                                    </td>
                                                    <td class="workshop-detail">
                                                        <asp:Label ID="lbldate1" runat="server" Text='<%#Eval("FromDate","{0:MMM-dd}")+" "+Eval("ToDate","{0:MMM-dd}") %>'></asp:Label>
                                                    </td>
                                                    <td class="workshop-detail">
                                                        <asp:Label ID="lblcity" runat="server" Text='<%#Eval("city") %>'></asp:Label>
                                                    </td>
                                                    <td class="workshop-detail">
                                                        <asp:Label ID="lbllanguage" runat="server" Text='<%#Eval("Language") %>'></asp:Label>
                                                    </td>
                                                    <td class="workshop-detail">
                                                        <asp:Label ID="lblvenue" runat="server" Text='<%#Eval("Venue") %>'></asp:Label>
                                                    </td>
                                                    <td class="workshop-detail">Rs.
                                                    <asp:Label ID="lblfee" runat="server" Text='<%#Eval("Fees","{0:0.00}") %>'></asp:Label>
                                                    </td>
                                                  </tr>
                                                  </ItemTemplate>
                                                  <FooterTemplate>
                                                       <tr>
                                                            <td colspan="6" height="7"></td>
                                                       </tr>
                                                  </table>
                                                  </FooterTemplate>
                                                  </asp:Repeater>
ASKER CERTIFIED SOLUTION
Avatar of Mrunal
Mrunal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial