This is a migrated thread and some comments may be shown as answers.

[Solved] Can't go to next page on the grid

3 Answers 234 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amy
Top achievements
Rank 1
Amy asked on 30 Mar 2009, 05:55 PM
I have a data bound RadGrid that will bring up the first page, but when I try to move forward a page, I get the following error:

Error:  Sys.WebForms.PageRequestManagerParserErrorException: The message recived from the server could not be parsed.  Common causes for this error are when the response is modified by calls to Response.Write(), response fileters, HttpModules, or server trace is enabled. 
Details:  Error parsing near '><td>$0.00</td><td>'.

I have a RadAjaxManager on the page also, and based on a different post I found when looking up this error, I have the RadGrid calling itself.  The above error is on different data each time.  I am not using response.write in my code, but when I search for it in my project, it is in this file:  Telerik.Web.UI.xml

Any idea on how to fix this?
Thanks, Amy

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 31 Mar 2009, 09:43 AM
Hi Amy,

I was not able to reproduce the problem you are facing. Therefore I present you some valuable links regarding your request:
http://www.dotnetglobe.com/2008/02/sys_02.html
http://dotnetdebug.net/2006/12/28/syswebformspagerequestmanagerparsererrorexception/

I hope this articles are useful for you. If you continue to experience difficulties, please open a formal support ticket and send me a small runnable application with reproduced this erroneous behavior.

Greetings,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Amy
Top achievements
Rank 1
answered on 31 Mar 2009, 12:35 PM
I had already tried the 2 things mentioned in the first article link, but they didn't help. 

The problem seems to be with the response.write being using the file Telerik.Web.UI.xml:

(The below is from the second article link you gave me)

It seems the newer versions of AJAX.NET really hates having “Response.Write” being called while doing an Async postback. It changes the response a bit causing it a hard time extracting the changed values and updating the changes using JavaScript on the client side.

If you get this error go through your page and all the controls in it (including controls within controls) and make sure you don’t have a “Response.Write” in the markup page.

I don't want to take the response.write out of the Telerik.Web.UI.xml file, because what will happen when I go to upgrade the Telerik controls? 

0
Pavlina
Telerik team
answered on 01 Apr 2009, 03:07 PM
Hi Amy,

Unfortunately I could not reproduce the issue on the live site. At this point, in order to find a quick solution/fix I will ask you to open a formal support ticket and send me a small working test project with reproduced this erroneous behavior. Thus I will do my best to help you further in resolving it.

Looking forward for your reply.

Sincerely yours,
Pavlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Amy
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Amy
Top achievements
Rank 1
Share this question
or