I have a master page with a RadAjaxManager on it.
I want to handle the server-side event AjaxRequest, but I want to do it in my content page.
Now I can set this up programmatically, by saying this in my content page...
But for completeness (and 'cos I'm going to have to explain this to other people) I'd like to know if this can be done programmatically.
--
Stuart
I want to handle the server-side event AjaxRequest, but I want to do it in my content page.
Now I can set this up programmatically, by saying this in my content page...
| protected void Page_Load(object sender, EventArgs e) |
| { |
| RadAjaxManager.GetCurrent(Page).AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(WebForm4_AjaxRequest); |
| } |
| protected void WebForm4_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) |
| { |
| string x = e.Argument; |
| } |
--
Stuart