Validator Problems and Solutions brought about by ASP. net ajax official edition

Source: Internet
Author: User

After upgrading to the official version of ASP. net ajax, it is good news that recompilation is normal and there is no need to make any changes. However, problems may occur during execution.

Because the Validator classes compatible with UpdatePanel are deleted in the official assembly, the required classes cannot be found during TagMapping. If you have not used Validator in your project, specifically, Validator is not used in UpdatePanel, you only need. delete the following element in the config file.

Elements to be deleted:

     
           ...
     

If a friend uses the Validator compatible with UpdatePanel, you don't have to worry about it. Matt James has provided a solution. From his article, we learned that compatible Validator will upgrade the. NET Framework through Windows Update. Although I don't know why, it seems that we can only accept this. For the moment, we need to download those Validator, compile this project, and copy the obtained Validators. dll to the Bin directory of the website. Add or modify the following elements in the configuration/system. web/pages node of web. config --

Document. write:

     
       Validators"/> >Validators"/> Validators"/> Validators"/> Validators"/> Validators"/>
     

In general, the officially released version has not been significantly modified, so it is easier to port the Control Toolkit without trying it ).

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.