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?
6 Answers, 1 is accepted
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?
Do you have any code where Session object is accessed?
the Telerik team
asp:ImageButton ID="DisplayTutorialButton" runat="server"
ToolTip="Display Tutorial" onclientclick="DisplayTutorial();"
Glad to hear you've made some good headway with this. Let us know if you need assistance in future.
the Telerik team
For this functinality to be handled in the Link button click event i have just given as
On using this, when click on the link button does not navigate to the page.aspx, instead i get the below mentioned error
But when i use Response.Redirect("Page.aspx') on the link event, no promlem occurs as mentioned above, works fine,