Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The page is performing an async postback but ScriptManager.SupportsPartialRendering property is set to false

Tags:

asp.net-ajax

How to fix the following exception?

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.

This exception throws from Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html).

like image 943
karthik Avatar asked May 11 '12 10:05

karthik


1 Answers

I found this blog post here that speaks of a similar problem and mentions the default setting of respecting only 64 characters when caching the user agent:

<browserCaps userAgentCacheKeyLength="64" />

This element is placed inside <system.web> but might not be there since 64 is the default value according to this MSDN library entry.

How exactly ASP.NET determines the capabilities of certain browsers, I haven't yet investigated, but some hints can be found here in the remarks section.

like image 56
Oliver Avatar answered Sep 18 '22 19:09

Oliver