Click here to Skip to main content
15,912,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a web form added with master page and I have a gridview in that web form content and I need to validate the textboxes in a gridview.

So, where I have to write a javascript?
In Master page or in the content in that web form itself?
Posted
Updated 23-Dec-11 2:43am
v3
Comments
Pramod Harithsa 23-Dec-11 8:22am    
of course in the web form!
use custom validator, that will help you.
Nikil S 23-Dec-11 8:44am    
[Edit] Spelling

 
Share this answer
 
Comments
RaisKazi 23-Dec-11 8:28am    
My 5.
Nikil S 23-Dec-11 8:57am    
+5
Monjurul Habib 24-Dec-11 2:44am    
5!
validate textboxes in gridview, set attribute for textboxes in rowdatabound event in gridview. pass control clientid as parameter.
I dont know what you want, tell me in detail if your problem is not solve.
 
Share this answer
 
Comments
idhris2011 24-Dec-11 0:00am    
i have added a textbox in gridview by adding template field....i have to validate those textbox in all rows of gridview that it should not be null....!

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