WebForms Unobtrusivevalidationmode need a "jquery" scriptresourcemapping solution

Source: Internet
Author: User
  1. Problem Description: VS2012 Use validation control appears " WebForms unobtrusivevalidationmode requires" jquery "scriptresourcemapping. Please add a scriptresourcemapping named jquery (case-sensitive). "error message.
  2. Problem Analysis: The validation control creates the client-side JavaScript code (which validates the input on the client) and also creates the server code (validating the input on the server). But you didn't introduce "jquery" in the source code.
  3. Problem solving: Introduce "jquery" files into your Bin folder

  • Click on the icon above to show "All Files" and the hidden bin file will appear.
  • Open the following folder with Explorer C:\Program Files (x86) \microsoft Web Tools\packages\aspnet.scriptmanager.jquery.1.7.1\lib\net45
  • Use the mouse to pull the files inside the bin folder directly

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.