We just went through a pretty large codebase migration, and biggest issue we're having is with our RadGrid's AJAX (paging, dragging and dropping cells, etc.). Any attempt by the grid to use AJAX results in this error:
Sys.WebForms.PageRequestManagerParserErrorException: 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 P'.
Now, I know there's a vast array of reasons for this error to appear, but after trying dozens of fixes I'm hoping to get some assistance narrowing it down to the right one. It seems to me that the error is related to the fact that the server is responding to the AJAX POST request with the entire page (beginning with the DOCTYPE declaration you see above), instead of properly responding with just the grid's updated HTML. Is there any obvious reason for this to occur? Are we missing some sort of configuration option that makes sure the AJAX response only contains the updated HTML that's needed?
Thanks, any assistance would be greatly appreciated.
Sys.WebForms.PageRequestManagerParserErrorException: 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 P'.
Now, I know there's a vast array of reasons for this error to appear, but after trying dozens of fixes I'm hoping to get some assistance narrowing it down to the right one. It seems to me that the error is related to the fact that the server is responding to the AJAX POST request with the entire page (beginning with the DOCTYPE declaration you see above), instead of properly responding with just the grid's updated HTML. Is there any obvious reason for this to occur? Are we missing some sort of configuration option that makes sure the AJAX response only contains the updated HTML that's needed?
Thanks, any assistance would be greatly appreciated.