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

Registering controls in the RadAjaxManager to use the RadAjaxManager???

1 Answer 20 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 26 Apr 2021, 01:34 PM

I've no long taken over an app and something that's puzzling me is it seems the previous develop has registers controls in the RadAjaxManager like this? Is it an appropriate use of the manager to register controls in this way?  Registering the AjaxManager to itself to update other controls?!?

<telerik:RadAjaxManager ID="AjaxManager" runat="server" OnAjaxRequest="AjaxManager_AjaxRequest" EnablePageHeadUpdate="false">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="AjaxManager">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="pnlAttendStatus" />

</UpdatedControls>

</telerik:AjaxSetting>

</telerik:RadAjaxManager>

     

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 27 Apr 2021, 01:01 PM

Hi Matthew,

The provided configuration is proper in scenarios in which the AjaxManager is triggering an Ajax request updating some other controls on the page. For example, this can be done by initiating a manual ajaxRequest() like explained in the following article:

https://docs.telerik.com/devtools/aspnet-ajax/controls/ajaxmanager/client-side-programming/overview

Regards,
Vessy
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
Ajax
Asked by
Matthew
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or