Click here to Skip to main content
15,887,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have grid view which contains 9 rows and 8 columns i have to check all text boxes are not empty using custom validation on single Button Control out side the grid view
Posted
Updated 18-Oct-13 22:35pm
v2

 
Share this answer
 
XML
<asp:TemplateField HeaderText="Received Amount">
             <EditItemTemplate>
             <asp:TextBox runat="server" ID="txt_recamt" Width="90px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RFVrecamt" runat="server" ControlToValidate="txt_recamt" Display="None" ErrorMessage="Must Enter Received Amount" ValidationGroup="duereport"></asp:RequiredFieldValidator>
         
           </EditItemTemplate>
          </asp:TemplateField>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900