I have a repeater with one text box and an "Add More" button. When the button is clicked it will add one text box per click. User can click any number of times and create new text boxes. My validation need to check at least one of the text box in this group
must be filled in.
ASPX code
<asp:Repeater ID="Repeater2" runat="server" OnItemCommand="Repeater2_ItemCommand" OnItemDataBound="Repeater2_ItemDataBound">
<HeaderTemplate>
<table width="75%" style="border: 1px solid #777777;">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:TextBox ID="txtDesc2" class="txt"  ...
Go to the complete details ...