加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-ajax – 该页面正在执行异步回发,但ScriptManager.Suppo

发布时间:2020-12-16 07:16:41 所属栏目:asp.Net 来源:网络整理
导读:如何修复以下异常? The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback. 此异常从Mozilla / 5.0(兼容; Googlebot /
如何修复以下异常?

The page is performing an async postback but the ScriptManager.SupportsPartialRendering property is set to false. Ensure that the property is set to true during an async postback.

此异常从Mozilla / 5.0(兼容; Googlebot / 2.1; http://www.google.com/bot.html)引发.

解决方法

我发现 this blog post here有类似的问题,并且在缓存用户代理时提到了仅尊重64个字符的默认设置:

<browserCaps userAgentCacheKeyLength="64" />

此元素放在< system.web>内.但可能不存在,因为根据this MSDN library entry,64是默认值.

ASP.NET究竟是如何确定某些浏览器的功能的,我还没有调查过,但是在备注部分可以找到一些提示here.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读