Should I Put a RadAjaxManager inside a RadWindow

2 posts, 0 answers
  1. James
    James avatar
    55 posts
    Member since:
    Oct 2011

    Posted 12 Dec 2011 Link to this post

    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
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4529 posts

    Posted 13 Dec 2011 Link to this post

    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
Back to Top