Dear All,
I had a requirement , I want to validate Gridview Textbox. I have A Grid and in that grid , I update the one base on the textbox value ,
Before i upDate , i wanna to check the texbox..
I f it null i wanna throw the script Message for that..
Guide Me !...
Thanks in Advance.
- Karthik .k


Sunny SharmaRank #223 · 11.1K reputationPosted Oct 2, 2013, 9:49 PM EDT
You can use the jquery to vaildation on textbox inside a gridview from client side.
Follow the pattern below:
**************************************
//ASPX
//SCRIPT
*********************************************
HTH :)
Cheers !!
Karthik KRank #1,981 · 738 reputationPosted Oct 2, 2013, 10:19 PM EDT
In the Jquery , You Called the cssclass id ,You didnt call the Textbox id ,
Revert me ..
Sunny SharmaRank #223 · 11.1K reputationPosted Oct 2, 2013, 10:23 PM EDT
$('input#myTextBoxTovalidate'). ...
Hope you got the point now :)
Karthik KRank #1,981 · 738 reputationPosted Oct 2, 2013, 10:30 PM EDT
Thanks you so much ...its working fine .,
Sunny SharmaRank #223 · 11.1K reputationPosted Oct 2, 2013, 10:35 PM EDT
Please mark that as answer so that other would get that in one go :)