Is there a way to achieve this?
6 Answers, 1 is accepted
Generally speaking, both client-side event can be attached either in the OnInit or OnLoad handler of the page. Can you please verify that you are using the latest release 2008.3.1314 of RadControls for ASP.NET AJAX in your project? If the problem persists, please paste your page definition in this thread in order to examine your complete code logic and research the matter further.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Master Page - has AjaxManager along with onEventStart="AjaxStart" and onEventEnd="AjaxEnd" events.
Content Page - has AjaxManagerProxy, I would like to have another set of onEventStart and onEventEnd events, but at the same time I don't want to overwrite nor replace original ones (from Master Page).
How do I achieve this functionality?
RadAjaxManagerProxy may look like a separate control, but it is not. It just passes some AjaxSettings to the main RadAjaxManager control. So there can't be separate event handlers for the proxy.
What you can do is check the event arguments when the event is fired and depending on them, execute a specific part of the handler:
the Telerik team
I am using version 2010.1.415.35 but the reasoning still applies. The reason I am using this thread is that it came up first on Google so will be the one most watched and I had a similar problem to bemara57. I wanted to centre the loading image in the centre of the screen but I was using mast/content pages and a RadAjaxManagerProxy control on the content page (which doesn't have client events).
The suggested method is to use (in the content page):
however I was getting page.init errors.
So I used (in the content page, where RadAjaxMaster is the id of the RadAjaxManager in the master page):
and everything works fine. Hope this helps someone else.