如何禁用ASP.net AJAX框架在ASP.net 3.5 [英] How to Disable ASP.net AJAX Framework in ASP.net 3.5

查看:95
本文介绍了如何禁用ASP.net AJAX框架在ASP.net 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个ASP.net 3.5的网站MooTools里面的AJAX框架。我想禁用ASP.net的AJAX框架所以它更像ASP.net 2.0。这是为了减少网页加载时间并减少不兼容。这是可能的,如果是的话我怎么做呢?

I'm working on an ASP.net 3.5 website with MooTools as the AJAX framework. I want to disable ASP.net's AJAX framework so it behaves more like ASP.net 2.0. This is to decrease page loading times and to reduce incompatibilities. Is this possible and if so how do I go about it?

推荐答案

我能够从组装引用删除System.Web.Extensions程序,然后我发现并删除了ScriptManager控件的所有实例。

I was able to remove the System.Web.Extensions assembly from the references, and then I found and removed all instances of the ScriptManager control.

在我这样做,没有任何的AJAX框架的东西呈现给页面。

Once I did this, none of the AJAX framework stuff is rendered to the pages.

我想保持3.5 LINQ和其他爵士,所以只是针对2.0框架是行不通的。

I wanted to keep 3.5 for LINQ and other jazz, so just targeting the 2.0 framework wouldn't work.

感谢您的提示。

这篇关于如何禁用ASP.net AJAX框架在ASP.net 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆