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

RadWindow Parent

1 Answer 166 Views
Window
This is a migrated thread and some comments may be shown as answers.
M. Athir Gillani
Top achievements
Rank 1
M. Athir Gillani asked on 01 Mar 2010, 04:24 PM
hi,

I want to change the parent page from which the RadWindow gets called. I can not simply update the whole page. Its a heavy page, and the counter that I am using small asp.net controls. Can you please tell that:

1). Can not I have the reference of the calling page in the server side events of RadWindow. Parent property of RadWindow is set to null, is there any other property by which I can access the calling page of the control reference?

2). Or by some other way I can call the server side method for the parent control on any event in the RadWindow or on the disposal of RadWindow.

Regards
Athir Gillani

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 02 Mar 2010, 01:47 PM
Hello Athir,

RadWindow is based on an IFRAME and by default it displays a content page set with the NavigateUrl property. Note that in this case, these are two completely different documents and you cannot access the server-side logic in one of the pages from the other one.
In such scenario, you should use the client-side API of the control. A sample implementation of such logic is available in this demo. In it, after RadWindow is closed, we use RadAjaxManager's API to invoke an Ajax call that would fire server-side code.

Best wishes,
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.
Tags
Window
Asked by
M. Athir Gillani
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or