Recently, the project has a pop-up window function that needs to be implemented. After checking that Asp.net Ajax is easy to implement, it is implemented using Asp.net Ajax ajaxcontroltoolkit.
There were three errors during implementation, which were somewhat depressing. However, based on the reason, the problem was finally found.
1. Components in the ajaxcontroltoolkit cannot be added to the page. This is the reason for my project. A "memory error" is displayed ".
Solution: reference the ajaxcontroltoolkit. dll file to the project first. Add the component to the page instead of the Toolbox.
2. ajaxcontroltoolkit undefined error.
Solution: Find the reason for this error: Server. to. the modification on the next page will be directed to the added page, so the error of the ajaxcontroltoolkit is undefined. use response. redirect () solution.
3. SYS. undefined Error
Solution: Web. config in Asp.net is not configured <Remove verb = "*" Path = "*. asmx"/>
<Add verb = "*" Path = "*. asmx "Validate =" false "type =" system. web. script. services. scripthandlerfactory, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add verb = "*" Path = "* _ appservice. axd "Validate =" false "type =" system. web. script. services. scripthandlerfactory, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add verb = "Get, head" Path = "scriptresource. axd "type =" system. web. handlers. scriptresourcehandler, system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "Validate =" false "/>
</Httphandlers>
<Httpmodules>
<Add name = "scriptmodule" type = "system. Web. Handlers. scriptmodule, system. Web. Extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>
</Httpmodules>