How to get checkboxid which is placed inside the repeater control from the codebehind side?

Mar 29 2011 11:22 AM

Hi,

Let us assume sample.aspx is a page this page contails the following Repeater

<asp:Repeater ID="Repeater1" runat="server"> 
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" Text='<%# container.dataitem("CUISINENAME")%>' />
</ItemTemplate>
</asp:Repeater>

My question is "while clicking the submit button in server side, i have to find the checkboxid which is placed inside the Repeater control. Any one help me Regarding this ?


Answers (2)