Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Display multiple windows on selection of rows in a grid

$
0
0
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



Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>