We have recently migrated from SharePoint 2010 to 2013. In our site we have the registration control with ajax update panel which is working fine in all the pages other than home. After analysis, I found that this issue is happening only if the popular items web part exists (which comes under "search-driven content" category). The issue occurs whenever I attempt to do a partial postback. I'm not getting anything changed and instead I'm seeing an error in the browser console. Please find the error details below:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; MS-RTC LM 8; InfoPath.3) Timestamp: Mon, 2 Dec 2013 07:18:16 UTC Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. Details: Error parsing near 'ebPartEditing|false|<script type='text/j'. Line: 5 Char: 84289 Code: 0 URI: http://collabsl-sp13:2009/ScriptResource.axd?d=0rRB-yfZVL04qQ_sBVXlxTsUw5u9OHe5YGiFPW7cz73oBgBM0PAqMA1ULIykAQQ0g_Mpuyar0vF8-YdXty6YKhCwlSkExCy5lL6BpWJP5aWwlnnNwwYwbnef_M3lQnUZTz3aZOX6_ZLHnKx8sj-WEFZIgFNn98eMj4iT12A79mqAeKTY_IT9SxyYT5guU-i30&t=6119e399
I have my update panel code as below:
<asp:UpdatePanel class="something" ID="something" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"> <Triggers> <asp:AsyncPostBackTrigger ControlID="something" /> </Triggers> <ContentTemplate> <img id="something" alt="Captcha Image" title="Captcha Image" runat="server" /> </ContentTemplate> </asp:UpdatePanel>
In my code behind, what am i trying is, to refresh the captcha image which involves assigning the .aspx url to the image. The assigned .aspx image have the logic for writing back the new image.
I have tried changing the IIS settings with respect to idle time and framework type(integrated/classic)..