[Niugu news publishing system] "jquery" ScriptResourceMapping is required for WebForms UnobtrusiveValidationMode ., Scriptreference

Source: Internet
Author: User

[Niugu news publishing system] "jquery" ScriptResourceMapping is required for WebForms UnobtrusiveValidationMode ., Scriptreference
Problem:

WebForms UnobtrusiveValidationMode requires "jquery" ScriptResourceMapping. Add a jquery (case sensitive) ScriptResourceMapping.


Solution:

Add the following statement to Page_Load in the background.

<em>   <strong>     protected void Page_Load(object sender, EventArgs e)        {             UnobtrusiveValidationMode = UnobtrusiveValidationMode.None;        }</strong></em>

 The so-called Unobtrusive Validation is an implicit verification method that separates authentication code from HTML.

Unobtrusive is a knowledge point in Ajax. Unobtrusive Ajax is mainly used for client input verification and asynchronous form submission.

Validation is a verification control that verifies the input in the form and outputs the Error Massage set for the Validator control through ValidationSummary.

The above knowledge and solutions are obtained through searching. This part of knowledge remains to be learned.

A problem can always extend a lot of knowledge points. A small problem in the niugu news publishing system gave me access to this item in advance. When I learned that part of the knowledge, it would have a deeper impact on the error.

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.