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 ?
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 20 Jul 2011, 02:54 PM
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.
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!