I've read a few posts from people asking a similar question but I didn't come across a clear answer. We are using the latest version (2008.2.723.35) and need to know the best way to get access to the OnResponseEnd inside of a usercontrol. I realize that we can access the RadAjaxManager on the parent page. The problem with this is that that now means that my control is not fully self contained. I need access to these events inside of the control or I need to understand what Telerik recommends here.
Just so you know, here is what I am trying to do... Perhaps there is a better way than what I am doing.
I have a user control that contains a button and a grid. when the button is pressed I want to make an ajax call so I can retrieve some values from the grid (server side), do some DB updates, update a field on the page, and then (after the ajax call is complete) finally do some more javascript. It seems like I need to tap into the OnResponseEnd in order to make sure the Ajax call is complete (and the field/variabile is updated) before I continue.
How best to approach this?
Thanks,
Just so you know, here is what I am trying to do... Perhaps there is a better way than what I am doing.
I have a user control that contains a button and a grid. when the button is pressed I want to make an ajax call so I can retrieve some values from the grid (server side), do some DB updates, update a field on the page, and then (after the ajax call is complete) finally do some more javascript. It seems like I need to tap into the OnResponseEnd in order to make sure the Ajax call is complete (and the field/variabile is updated) before I continue.
How best to approach this?
Thanks,