I can't seem to get these two client-side events to fire when the event comes from the proxy within a user control. I've defined the javascript handlers on the RadAjaxManager to take care of the events. The button within the user control gets ajaxified by its container, a RadMultiPage, which has a RadAjaxManagerProxy within it. However, I'm trying to disable Ajax on this button so that a full postback can occur and a file can be output for consumption. I'm currently using RadControls for ASP.NET AJAX Q1 2009 (build 527).
function OnRequestStart(sender, args) { alert("Request start"); }
function OnResponseEnd(sender, args) { alert("Response complete."); }
Right now I'm just using simple alert messages, but they never seem to happen. My work-around solution was to use, but is this something that Telerik plans on addressing?:
RadScriptManager.GetCurrent(this.Page).RegisterPostBackControl(this.MyButton1);