I have a very basic question about RadAjaxManager that I was unable to answer yet. How to pass data back to the client-side response handler:
Client-side, I might do something like this:
RadAjaxManager1.ajaxRequest(arg);
Server-side, I then do something like this:
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
string arg = e.Argument;
// do something
}
Client-side, I then handle the response as so
function OnReponseEnd(sender, eventArgs)
{
}
}
My basic question is - how to pass data back to OnResponseEnd? What can I do server-side that will generate data that I can then process in OnResponseEnd? I'm more accustomed to doing ajax more bare-bones, like through jQuery, where I can pass params back and forth. I know I can add ResponseScripts server-side in order to pass data, but that's a bit clunky.
Thanks