Hi,
I have a requirement to display a radwindow for every selected row in the radgrid. The content of the window is different for each row.
For multiple selection of rows, I need to display the radwindow one after the other. For example, if I select 5 rows, I need to display the window 5 times. I have tried doing this as below.
foreach (GridDataItem item in grid.SelectedItems)
{
window.VisibleOnPageLoad = true;
// Load the content for the window
}
However, the window gets loaded only once after completion of the foreach loop.
I also tried setting the Visible property of the window instead of using VisibleOnPageLoad. But in this case, the window is not displayed at all.
Is there a way to display the window first and then continue execution of foreach loop?
Thanks in advance.
Regards,
Sowmya
I have a requirement to display a radwindow for every selected row in the radgrid. The content of the window is different for each row.
For multiple selection of rows, I need to display the radwindow one after the other. For example, if I select 5 rows, I need to display the window 5 times. I have tried doing this as below.
foreach (GridDataItem item in grid.SelectedItems)
{
window.VisibleOnPageLoad = true;
// Load the content for the window
}
However, the window gets loaded only once after completion of the foreach loop.
I also tried setting the Visible property of the window instead of using VisibleOnPageLoad. But in this case, the window is not displayed at all.
Is there a way to display the window first and then continue execution of foreach loop?
Thanks in advance.
Regards,
Sowmya