activating a radwindow from another radwindow

2 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 19 Jul 2011 Link to this post

    I have a radwindow that contains a grid.   I want to edit items in the grid inside another radwindow so when a user selects 'edit' or 'add' in the grid, a second radwindow is activated.  Are there any examples of this functionality available ?
  2. Marin Bratanov
    Marin Bratanov avatar
    3899 posts

    Posted 20 Jul 2011 Link to this post

    Hi Mark,

    The approach to solving this scenario depends on the way you use the RadWindow. If you have the RadGrid in its ContentTemplate then you can use this online demo as a basis, since in this case the RadGrid will actually be a part of the main page.

    If you are loading an external page in the RadWindow things get a little more complicated since some cross-iframe communication is needed. This is best achieved by declaring a number of functions in the respective pages an calling them in turn to do their job. For example a function in the page with the grid will call a function from the parent page that will open the second RadWindow. A function in the second RadWindow may call a function from the main page that can access the first RadWindow and call a function that rebinds the grid there. The approach is shown in this help article.

    I also believe that you may find the following help articles useful:

    Best wishes,
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top