0

I am making first website in asp.net I am using Required Field Validator with my textbox.but its giving following exception

Server Error in '/' Application.

WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

7
  • Refer this codeproject.com/Articles/465613/… Sep 8, 2015 at 11:25
  • In your script folder do you have jquery.validate.unobtrusive,jquery.validate,jquery.unobtrusive-ajax js files?
    – temUser
    Sep 8, 2015 at 11:25
  • You should post your code for this type of error, Also go through How to ask good question on stack it will help you in the future
    – hud
    Sep 8, 2015 at 11:39
  • @Sain Pradeep Your link was good but still i am facing problem Sep 8, 2015 at 11:41
  • @SainPradeep where is Global.asax file? Sep 8, 2015 at 11:42

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.