Sys.WebForms.PageRequestManagerParserErrorException

7 posts, 0 answers
  1. Kunal
    Kunal avatar
    4 posts
    Member since:
    Feb 2008

    Posted 21 Aug 2008 Link to this post

    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

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 21 Aug 2008 Link to this post

    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.
  3. Sam
    Sam avatar
    59 posts
    Member since:
    Apr 2008

    Posted 10 Sep 2008 Link to this post

    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

  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 11 Sep 2008 Link to this post

    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.
  5. Sam
    Sam avatar
    59 posts
    Member since:
    Apr 2008

    Posted 11 Sep 2008 Link to this post

    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);" />

  6. Plamen Peshev
    Admin
    Plamen Peshev avatar
    885 posts

    Posted 11 Sep 2008 Link to this post

    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.
  7. praveen thangaraja
    praveen thangaraja avatar
    3 posts
    Member since:
    Dec 2009

    Posted 08 Jan 2010 Link to this post

    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

Back to Top