My scenario:
aspx containing ascx(1)
ascx(1) containg ascx(2)
ascx(2) raise an event. ascx(1) catch it and has to open a radWindow that is own by itself.
Some values have to be passed to radwindow navigateUrl depending on the selected row grid of ascx(1)
Is there a way to do it?
Thank you
1 Answer, 1 is accepted
0
Marin Bratanov
Telerik team
answered on 06 Dec 2011, 05:04 PM
Hello Jean-Marc,
I believe that the following sticky thread on opening a RadWindow from the code-behind will be useful in your scenario: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx. Since you already handle the events and have the values you can easily pass construct the URL on the server and inject it into a JavaScritp variable that will instruct the RadWindow which page to open. You may also find useful this article on injecting scripts from the sersver.
All the best,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now