Open RadWindow from panel

3 posts, 0 answers
  1. juststarting
    juststarting avatar
    18 posts
    Member since:
    Jul 2012

    Posted 24 Aug 2009 Link to this post

    Hi,

    On my masterpage I have a radWindowManager and a radPanel (that loads a second aspx page). We want to open the radWindow (on the main page) from then within the panel. Is this possible? and if yes who would we do it using VB.Net?

    Thanx
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Aug 2009 Link to this post

    Hi Sarel,

    I am not quite sure about your scenario. I guess you want to restrict the RadWindow in RadAjaxPanel which is in master page. If so you can add an table control and set the RestrictionZoneID proeprty to the table ID so that the window will be confined to a particular area. See the online demo which demonstrates the functionality.
    Restriction Zone

    You can also refer the following documentation which shows how to show RadWindow from code behind.
    Setting Server-Side Properties

    -Shinu.
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 24 Aug 2009 Link to this post

    Hi Sarel,

    If you are loading an external page in that panel, you cannot call the RadWindow from the parent page via codebehind - the content and the parent page are separate documents and you cannot access one from another. The only way to do this is to use the client-side API of the RadWindow control and to open it via radopen() or show().



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