Click here to Skip to main content
15,905,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hello friends,

am working on asp.net gridview using c# sqlserver 2005 database.

in this gridview i have footer textboxes and a submit button to add the records.its works fine. but i need validations for textboxes when the textbox is empty.

normally, i did for many forms in many projects its works fine. i used validation summary for popup.

Please can u show me, how to make validations for gridview footer textboxes.

Help thanks
Posted
Comments
[no name] 15-Apr-13 6:23am    
Have you tried any thing so far?
You can do it in javascript too. Add a method in javascript and check for the textbox there on any button click event.

HI,
Check the following links for your answer:

gridview footer using validator control
Validtor for TextBox Within GridView Footer

Thanks
 
Share this answer
 

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