WebForms Unobtrusivevalidationmode needs "jquery" scriptresourcemapping

Source: Internet
Author: User

WebForm 4.5 Development, many controls by default enable the unobtrusive Validationmode (the so-called unobtrusive Validation, is an implicit authentication method) of the properties (and jquery reference), But it is not assigned, programmer must be set manually. For example, the various validator used for data validation (the RequiredFieldValidator control used today), and the authorization and authenication settings, Because jquery is required to be called on the front-end for authentication, unobtrusive Validationmode is the default enable. If this property is not configured, an error is generated.

Locate the appropriate jquery (ASPNET.SCRIPTMANAGER.JQUERY.DL) file to copy it to the Bin folder.

Since I am a new empty Web application, I did not add jquery. We can paste the corresponding jquery file into the folder mentioned above by creating a new non-empty Web application.

WebForms Unobtrusivevalidationmode needs "jquery" scriptresourcemapping

Related Article

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.