Ajax class undefined

Source: Internet
Author: User

After a very busy day, the Web. config settings are correct and all of them are registered. If everything is correct, '_ default' is always displayed.

The Ajax. dll and ajaxpro. DLL files have been changed several times, but this problem still persists,

That is, the class is undefined. After one day, the Internet finally found a solution:

1.

There is no runat = server form on the page, so it will not be generated during running.

<Input type = "hidden" name = "_ viewstate" value = "ddwxnzc3mdq0mza2ozs + zq2gjqhju5luu3gystmlne2cl/I ="/>
<SCRIPT type = "text/JavaScript" src = "/myhome/ajax/common. ashx"> </SCRIPT>

<SCRIPT type = "text/JavaScript" src = "/myhome/ajax/BR. myhome. admin. adminmyhome, Br. myhome. ashx"> </SCRIPT>
 

Without this code, he will not communicate with the server, resulting in such an error.

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.