Some vomiting experience in verifying the control [Validation Server Control] Under. net

Source: Internet
Author: User

Some versions and FAQs of the validation control [Validation Server Control] Under. net

Experts may laugh, but I am here to torture my younger brother for three days. I will record it and share it with you.

1. Net does not respond to the submission on the page after SP1. Why? This is because after SP1.

Some of the functions in aspnet_client/system_web/2017100004322webuivalidation.js have been changed. I will not talk about them much. The solution here is as follows, 1. Compare the JS functions generated by running normal pages and abnormal pages

If the content is different, it is generally because a return is a new version in the validatoronsubmit () function. Replace it with the corresponding JS under wwwroot folder to solve the problem.

2. After enableclientscript = "false", it will be reported at the server end. Well, this problem is my basic skills.

Use isvalid to start the onclick operation.

Microsoft, forgive me. You have been scolded for tens of thousands of times in the past two days ......

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