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

Should I Put a RadAjaxManager inside a RadWindow

1 Answer 78 Views
Window
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 12 Dec 2011, 03:31 PM
Hi,

This is more of a theoretical question as I plan a page.  Here is the situation:

  1. I want a host page containing several Telerik controls, include RadAjaxManager.
  2. RadWindows will be launched from this page via button clicks and context menus.
  3. I like to launch my RadWindows via client side.

Now here is the gig:  Some of my windows themselves have some content that should be ajaxified within the window itself.  For example, if this was a stand alone page, I would add a RadAjaxManager to the page to control the interaction between controls.  In this context, I do not care about updating controls on the host page -- just controls contained on the RadWindow itself.

However, this being a page launched as a RadWindow (essentially an iFrame, I believe) I'm concerned with the best practice to do this.  Does it make sense to have a RadAjaxManager on the host page, and a second RadAjaxManager on the iFrame itself.  Will they fight?  I've noticed some posts where it says to have the RadWindow update itself via the RadAjaxManager on the host page, but that seems a little disconcerting in that I won't have a lot of control of the update order on the RadWindow.

So, what's the best practice here?

Thanks so much!!!!

Jim

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Dec 2011, 04:46 PM
Hi Jim,

Please examine the following help article on using RadWindow with AJAX: http://www.telerik.com/help/aspnet-ajax/radwindow-ajaxifying.html. I believe it will answer your questions as it covers the two modes of the RadWindow.

As for the RadWIndow updating itself - this is generally not needed and would sometimes cause issues (of course, this depends a lot on the scenario and the desired effect / functionality).



Greetings,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Window
Asked by
James
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or