This is a migrated thread and some comments may be shown as answers.

[Solved] Access Object from Parent Page

1 Answer 157 Views
Window
This is a migrated thread and some comments may be shown as answers.
Feizal Amlani
Top achievements
Rank 1
Feizal Amlani asked on 25 Jun 2009, 05:59 PM
Hello,

I am wondering if there is a way to open a RadWindow and access an object from the parent on the server side.  For example, I have a RadTree in the Parent Page.  Clicking on a button will lauch a RadWindow and on the PageLoad (server side) of the RadWindow I want to access the RadTree which is on the Parent page.

Thanks,
Feizal

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 26 Jun 2009, 08:55 AM
Hi Feizal,

The RadWindow controls is basically an IFRAME that displays a content page, different from the parent one. Because of this, the communication between these two pages cannot be done on the server - you need to do it on the client with JavaScript and if you want to send data to the server after that, you could use a postback or Ajax callback. Note that this issue is not related to our controls but is a general programming task.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Window
Asked by
Feizal Amlani
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or