How to validate the jquery fun with master page in asp.net??
Can any one help me how to validate the emptiness of the asp.net text box by using jquery??
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 11, 2015, 9:29 PM EST
Go through my article it will help you
http://www.c-sharpcorner.com/UploadFile/ee01e6/jquery-validation-with-Asp-Net-web-form/
Priya Avanigadda46 reputationPosted Feb 11, 2015, 9:33 PM EST
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 11, 2015, 9:35 PM EST
it will help u
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 11, 2015, 9:41 PM EST
Use ClientIDMode="Static" inside the control and then use the id of the control.
Actually when the control is place inside content page the id and name of the control has been change while rendering the page in browser. so your validation is not working I think. I face the same error once. check the page source of your page in browser for more details.
Priya Avanigadda46 reputationPosted Feb 11, 2015, 10:26 PM EST
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 11, 2015, 10:39 PM EST
have you import jquery.validate.min.js?
Priya Avanigadda46 reputationPosted Feb 11, 2015, 10:53 PM EST
Here is my sample code and this code is working with out contentplaceholder but it's not working with contentplace holder .
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Feb 11, 2015, 11:16 PM EST
Priya Avanigadda46 reputationPosted Feb 11, 2015, 11:19 PM EST