This is a migrated thread and some comments may be shown as answers.

Overall/Master 'OnRequestStart' and 'OnAjaxRequest'

1 Answer 40 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ahrensberg
Top achievements
Rank 1
Ahrensberg asked on 17 Mar 2010, 09:24 AM
Hi all,

Do there exists an overall/master 'OnRequestStart'- and 'OnAjaxRequest'-eventhandler? These events should be firede always even if it is on a usercontrol at a ajaxmanagerproxy or in a radwindow at a subpage. I can do some of it by implement it manually at every page, but i would be nice to have a standard way to do it, and by this also get loose of the possibility that i should forget it at some pages/usercontrols.

Cheers,
Kenneth

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 22 Mar 2010, 11:29 AM
Hello Ahrensberg,

Concerning the OnRequestStart event of the RadAjaxManager control it will be triggered for every ajax request occuring on a content page or a user control where the RadAjaxManager is present via a master page or just being on the web form where the user control is loaded.

As for the AjaxRequest server event, it can be thrown, even if the RadAjaxManager control is not present on the user control/content page, as follows:
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest("content");

More information on that you can find at the following help topic (here).

Do feel free to contact us again, if further questions arise.

Regards,
Tsvetoslav
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Ajax
Asked by
Ahrensberg
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or