RadWindow Parent

2 posts, 0 answers
  1. M. Athir Gillani
    M. Athir Gillani avatar
    3 posts
    Member since:
    Nov 2009

    Posted 01 Mar 2010 Link to this post

    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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 02 Mar 2010 Link to this post

    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.
Back to Top