When I add the login control to the page, I got the following error. Could u help me ?
“WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping
for ‘jquery’. Please add a ScriptResourceMapping named
jquery(case-sensitive).”
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to have jQuery in your project and have something like this in Global.asax to register jQuery properly:
Replacing the version of jQuery with the version you are using. You can also disable this new feature in web.config by removing the following line:
http://connect.microsoft.com/VisualStudio/feedback/details/735928/in-asp-net-web-application-visual-basic-the-requiredfieldvalidator-doest-work
Edit:
From the comments below, if the ValidationSettings:UnobtrusiveValidationMode is set to
WebFormsrather than removing it, you can change the value toNoneas shown below: