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

Sys.WebForms.PageRequestManagerParserErrorException

6 Answers 366 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kunal
Top achievements
Rank 1
Kunal asked on 21 Aug 2008, 02:00 PM

Hi,

I have a couple of asp dropdowns, button named “View Results” and a RadGrid inside an Update Panel. Upon button click I fire a sql query and display the corresponding data in the RadGrid.

My problem is sometimes when I click “View Results” button I get a dialog box with error 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 'span> </div> |<html>     <head>”and RadGrid is not displayed.

When I click the button again the error doesn’t show up and RadGrid is displayed. This happens sometimes not every time.

Can anyone tell me how to figure this out?

Thanks

6 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 21 Aug 2008, 02:37 PM
Hello Kunal,

Please review the following help topic which elaborates on this kind of errors. Test the proposed approaches and let us know if this helps.

Regards,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sam
Top achievements
Rank 1
answered on 10 Sep 2008, 07:35 PM

Maria, 

I start getting this error as well: error parsing near ' doctype html pub'

I don’t use UpdatePanels, just the standard Telerik Ajax manager. I’m using the latest version (2 723.35). I’m having very hard time even trying to find out where to start debugging. The site was working for the last 3 months, and for some reason it started giving that error when I move between the different tabs (RadTabStrip). The problem is not consistent, I can move between different tabs and after the second one it would give me that error or sometimes after going between 8 tabs. Any ideas?

thanks,
-Sam

0
Vlad
Telerik team
answered on 11 Sep 2008, 05:51 AM
Hello Sam,

Do you have any code where Session object is accessed?

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sam
Top achievements
Rank 1
answered on 11 Sep 2008, 03:36 PM
So I finally found the problem. I still don't know why it's causing the issue I was having, but it took it out anyway.

<

asp:ImageButton ID="DisplayTutorialButton" runat="server"

CssClass="DisplayTutorialStyle" ImageUrl="~/Images/Tutorial.png"

ToolTip="Display Tutorial" onclientclick="DisplayTutorial();"

PostBackUrl="javascript:void(0);" />

0
Missing User
answered on 11 Sep 2008, 03:43 PM
Hello Sam,


Glad to hear you've made some good headway with this. Let us know if you need assistance in future.

Kind regards,
Plamen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
praveen thangaraja
Top achievements
Rank 1
answered on 08 Jan 2010, 10:26 AM

Hi,


I have a page where i have a link button, when clicking on the link will navigate to the other page.
For this functinality to be handled in the Link button click event i have just given as

Server.Transfer("Page.aspx").

On using this, when click on the link button does not navigate to the page.aspx, instead i get the below mentioned error
error: 
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 DOCTYPE html PUB.

But when i use  Response.Redirect("Page.aspx') on the link event, no promlem occurs as mentioned above, works fine,
can you suggest on this issue?

Thanks
Praveen

Tags
Grid
Asked by
Kunal
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Sam
Top achievements
Rank 1
Vlad
Telerik team
Missing User
praveen thangaraja
Top achievements
Rank 1
Share this question
or