I've got a user control which has a number of controls on it (one of which is a RadGrid). I have a client-side event handler hooked up to it to cause a postback when you double-click on a row. My user control implements IPostBackEventHandler and processes the request. This is currently working.
Now I'd like to add a RadAjaxManager (v2007.3.1425.35) to the page, but can't seem to get it to work correctly (and I also have a few questions about it). I added RadAjaxManager to the page, set the various properties based on what to update when, and then ran my test page. When a postback occurs, it keeps failing back on the client side with,
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed."
Since this is a user control, it occurred to me that I'll have problems using RadAjaxManager in the UC if I happen to have more than one of these controls on a form (or my form is already using RadAjaxManager). So I pulled the RadAjaxManager code out and moved it into my ASPX page, and adjusted the AjaxSettings control for the user control as the source and as the updated control. I re-ran the page and I still receive the "Sys.WebForms.PageRequestManagerParserErrorException" error.
Any thoughts on what I'm missing/what is causing the error? Also, it appears like I can't have as fine-grained control of the Ajax updating process in user controls because I can only have RadAjaxManager appear once on a page. Or am I missing something?
Now I'd like to add a RadAjaxManager (v2007.3.1425.35) to the page, but can't seem to get it to work correctly (and I also have a few questions about it). I added RadAjaxManager to the page, set the various properties based on what to update when, and then ran my test page. When a postback occurs, it keeps failing back on the client side with,
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed."
Since this is a user control, it occurred to me that I'll have problems using RadAjaxManager in the UC if I happen to have more than one of these controls on a form (or my form is already using RadAjaxManager). So I pulled the RadAjaxManager code out and moved it into my ASPX page, and adjusted the AjaxSettings control for the user control as the source and as the updated control. I re-ran the page and I still receive the "Sys.WebForms.PageRequestManagerParserErrorException" error.
Any thoughts on what I'm missing/what is causing the error? Also, it appears like I can't have as fine-grained control of the Ajax updating process in user controls because I can only have RadAjaxManager appear once on a page. Or am I missing something?