[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.