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

Debugging RadGrid postback problems

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Roger McCoy
Top achievements
Rank 1
Roger McCoy asked on 03 Jun 2010, 05:02 PM
This is kind of a general issue for a lot of different problems I've had when working with RadGrids.  If there's some sort of error in the code, I've been having a difficult time (in many cases) trying to figure out what exactly the problem is.  In particular, if some sort of error is introduced that affects the edit/insert mode, my only sign that something is wrong is that the edit/insert buttons stop working and the Firefox error console reports something like the following:

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 'ý 
Source File: http://eon2.actteleservices.com/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a8f393b2b-3315-402f-b504-cd6d2db001f6%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.1.309.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3aa491094c-5dfe-45a9-a72f-e5f5f0640d11%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3ae330518b%3a1e771326%3a8e6f0d33%3a58366029%3aaa288e2d 
Line: 15 

Is there any way to get more specific errors for RadGrid postbacks?  Is there some logging that I'm not aware of that might help to isolate the issue?  I'm usually reduced to guessing at this point until I manage to hit whatever the problem is.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 09 Jun 2010, 07:57 AM
Hello Roger,

Thank you for contacting us and for your question.
To see more information along the lines of the requested functionality, please refer to the following topic:

http://www.telerik.com/help/aspnet-ajax/grderrorhandling.html

Give this suggestion a try and let me know how it goes and if any other questions arise.

Best wishes,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Roger McCoy
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or