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

[Solved] Rad...Manager v.s. individual control

3 Answers 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SamVanity
Top achievements
Rank 2
SamVanity asked on 06 Mar 2008, 12:47 PM
I remember in a previous thread discussion that Telerik recommends using RadAjaxManager in the master page instead of RadAjaxPanel in individual pages.

I am using RadWindow and RadTooltip as well in my application. Should I follow the same pattern to use RadWindowManager / RadTooltipManager in the master page?

Performance-wise what's better? what about the pages that don't use either RadWindow/RadTooltip?

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 06 Mar 2008, 12:56 PM
Hello Sam,

The RadAjaxManager gives you the flexibility to update only certain controls on the page without the necessity to wrap them in the same RadAjaxPanel. This provides greater granularity of the ajax settings and can speed up the performance since it is up to you to design your ajax settings and update only relevant controls on ajax request.

The same stands when using RadWindow/RadTooltipManager in master/content page scenario. The basic concepts are described/demonstrated in these online demos of RadAjax Prometheus:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Ajax/Examples/Manager/MasterPage/DefaultCS.aspx
http://www.telerik.com/help/radcontrols/prometheus/?ajxMasterPageUpdateEverywhere.html

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
SamVanity
Top achievements
Rank 2
answered on 06 Mar 2008, 01:08 PM
I understand how it works as I am already using RadAjaxManager in my application with good success. It indeed is very simple and a good way to use in Master/content page scenario.

my question really is there is not a equivalent Rad...Proxy for RadWindowManager/RadTooltipManager. As a result, it will be quite different from the case of RadAjax.

What would you suggest? should I use FindControl in the content page in the case I need to interact with Rad...Manager residing in the master page?

I think in my case interaction will happen mostly on the client side, so, the question really is how to get reference to Rad...Manager residing in the master page on the client side? in other words, what is the best approach for $find(...)?
0
Georgi Tunev
Telerik team
answered on 07 Mar 2008, 04:38 PM
Hi Sam,

To get access to the RadAjaxManager residing in the master page you can use the GetCurrent method as illustrated in the first demo from my previous reply (see the info under the Description tab).

As for the RadWindowManager / RadTooltipManager, you can access them on the server as any other ASP.NET control. If you need to access them on the client, it is best to use the $find() method and use the ClientID of the control.



Best regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
SamVanity
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
SamVanity
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or