I don't think you can do this, but I just want to check. It would be a cool feature if we good. Right now, I think the only way to populate a RadWindow is with a url to another page.
For a lot of my pages is is a pain in the neck. I'll explain why. I have several pages with RadGrids. The RadGrids have checkboxes to selected the rows. After selecting the rows, the user can click a "Delete" button to delete the selected rows. When they click it, I want to display a RadWindow with a confirmation and a list of items they are going to be deleting.
The problem is that the way the RadWindow is designed, I need to supply it with a URL to "delete" page, and pass the selected ids and other information via a query string. This is a problem since the query string has a limited length.
Another way I devised to accomplish this using javascript and ajax to get the info onto the page that has the popup, but it's ugly and is prone to errors.
A better way would be to allow for something like this on the base page.
<RadWindow>
<asp:Panel>
other controls
</asp:Panel>
</RadWindow>
Then when some click the delete button, I would get a post back. The grid viewstate will have all the info I need and I can use that to populate the stuff in the RadWindow. I could then display the RadWindow and all events will go to the base page.
This would be so cool if we could figure out a way to do it.
For a lot of my pages is is a pain in the neck. I'll explain why. I have several pages with RadGrids. The RadGrids have checkboxes to selected the rows. After selecting the rows, the user can click a "Delete" button to delete the selected rows. When they click it, I want to display a RadWindow with a confirmation and a list of items they are going to be deleting.
The problem is that the way the RadWindow is designed, I need to supply it with a URL to "delete" page, and pass the selected ids and other information via a query string. This is a problem since the query string has a limited length.
Another way I devised to accomplish this using javascript and ajax to get the info onto the page that has the popup, but it's ugly and is prone to errors.
A better way would be to allow for something like this on the base page.
<RadWindow>
<asp:Panel>
other controls
</asp:Panel>
</RadWindow>
Then when some click the delete button, I would get a post back. The grid viewstate will have all the info I need and I can use that to populate the stuff in the RadWindow. I could then display the RadWindow and all events will go to the base page.
This would be so cool if we could figure out a way to do it.