We want to upgrade to ASP. net3.5 to use the Ajax history function. In fact, we only need to add the following in Web. config:CodeYou can.
< Runtime >
< Assemblybinding Xmlns = "Urn: Schemas-Microsoft-com: ASM. V1" >
< Dependentassembly >
< Assemblyidentity Name = "System. Web. Extensions" Publickeytoken = "31bf3856ad364e35" />
< Bindingredirect Oldversion = "1.0.0.0-3.5.0.0" Newversion = "3.6.0.0" />
</ Dependentassembly >
< Dependentassembly >
< Assemblyidentity Name = "System. Web. Extensions. Design" Publickeytoken = "31bf3856ad364e35" />
< Bindingredirect Oldversion = "1.0.0.0-3.5.0.0" Newversion = "3.6.0.0" />
</ Dependentassembly >
</ Assemblybinding >
</ Runtime >
The above indicates that extension is directed to version 3.6 at runtime.
However, in order not to affect the design, there are some error prompts, although it does not affect the operation, we need to change the following part to this
< Pages Stylesheettheme = "LB" >
< Namespaces >
</ Namespaces >
< Controls >
<! -- <Add tagprefix = "asp" namespace = "system. Web. UI" assembly = "system. Web. Extensions,
Version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/> -->
< Add Tagprefix = "Asp" Namespace = "System. Web. UI" Assembly = "System. Web. Extensions, version = 3.6.0.0,
Culture = neutral, publickeytoken = 31bf3856ad364e35" />
</ Controls >
</ Pages >