My Techie Blog

  Home  |   Contact  |   Syndication    |   Login
  110 Posts | 5 Stories | 406 Comments | 0 Trackbacks

News

Archives

Post Categories

ADO.NET

Ajax

API/WebServices

ASP.NET Resources

BizTalk Server

Blogs I read

Free Books

How to

iOT

JavaScript

JQuery

JSLink - SharePoint

JSON

LINQ

Misc

Mobile BI

MS Business Inteliigence

Reporting Services

Responsive/MVC ASP.NET

SEO

Sharepoint Resources/Tools

SharePoint 2010 Branding

SharePoint 2010 Videos

SharePoint 2013

SharePoint Online

SilverLight

SPServices

SQL Server

Sql Server 2012

SSIS

Web Optimization Tools

Web Performace Tools

Windows 8

Windows Azure

Windows Azure

Windows Phone

WorkFlows

WSS V3

xml

Using Jan Tielens SmartPart Using the AJAX Control Toolkit in SharePoint in could be very interesting but sometimes you might get this horror error  like

Sys.WebForms.PageRequestManagerParserErrorExeption: 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 '_TextBox'.

You could get a very detailed article here from Mike Ammerlans Blog on how to integrate Ajax and WSS but it might not solve all the the issues and errors.
 Another very good blog here is by  Eric Lipton which tells you what is it and how to avoid it and you could get some good tricks when using  Ajax in sharepoint or your normal ASP.NET apps.

After trying different scenario by placing the asp:ScriptManager beneath the WebPartManager registration  (search for  <WebPartPages:SPWebPartManager id="m" runat="Server" />):<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>

I also tried adding validateRequest=false and it didn't work

Even if you try to add them directly to your sharepoint pages WSS it will throw an error saying it doesn't want it.
I evntually added:


<pages enableEventValidation="false"/>

to my web.config and that did the trick.

Maybe there is an updated version of the  AJAX Control Toolkit .But if you have the version 
Version=1.0.10123.0 then bad luck you will need to do all these to get it going.

Hope that helps



 


 

 

posted on Wednesday, September 12, 2007 7:26 PM

Feedback

# re: PageRequestManagerParserErrorException Error when implementing Ajax and using Update Panel with sharepoint 3/23/2008 6:18 PM Ashok
Try this!. Time out will be one of the cause.
<asp:ScriptManager AsyncPostBackTimeout="300" ID="ScriptManager1" runat="server" />

Post A Comment
Title:
Name:
Email:
Comment:
Verification: