Hi,
I have a page contains iframe
ex: Page1.aspx contains radwindow and a iframe, iframe load Page2.aspx
Page2.aspx contains a button1 and a textbox
How to open radwindow when button1 is clicked and set arguments of radwindow when it closed to value of textbox
Thanks
You can access the RadWindowManager placed in the main page using the "window.parent.GetRadWindowManager()" method and then use the open() method to show the window.
Here is the code that I tried in Page2.aspx:
JavaScript:
Thank you Princy, but how to Returning values to page2 from rad window.
Sorry for my English
0
Georgi Tunev
Telerik team
answered on 19 Apr 2010, 08:37 AM
Hi Xrow,
You could return the argument from RadWIndow to the calling page by using the suggestions in this help topic. Sending arguments from that page to another page in an IFRAME is a general programming task and I suggest to check the Net for the available solutions - for example you could call a function in that IFRAME and pass the argument there: (document.getElementById('iframeid').contentWindow.myFunc();)
All the best,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.