Radwindow OPEN/HIDE/SHOW

3 posts, 0 answers
  1. Rahul
    Rahul avatar
    142 posts
    Member since:
    May 2009

    Posted 01 Jun 2009 Link to this post

    HELLO

    i want to open on button click. but after radwindow open in outside of that page, means hide aspx page only show the Radwindow content and after clicking on inside radwindow cancel button then hide radwindow and show the that aspx page

    how to do this , is this is possible ?????

    reply urgent


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 01 Jun 2009 Link to this post

    Hello Rahul,

    You can set the modal property of the RadWindow to true as shown below to achieve the required:
    aspx:
    <telerik:RadWindow ID="RadWindow1" Modal="true" runat="server"  NavigateUrl="Default.aspx">            
    </telerik:RadWindow> 

    Thanks
    Princy.
  3. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 01 Jun 2009 Link to this post

    Hello Rahul,

    I am not quite sure that I understand your scenario, but I think that you want to hide the browser window when a RadWindow is opened. If this is your requirement, it is an impossible scenario because the RadWindow control is based on an IFRAME and it behaves just like an IFRAME - cannot persist outside of the browser window. In your case, however you can make the RadWindow modal and set a not transparent overly. This will hide the parent page's content and you can achieve it by overriding the TelerikModalOverlay CSS class as follows:

    <style type="text/css"
        .TelerikModalOverlay 
        { 
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important; 
            opacity: 1 !important; 
            -moz-opacity: 1 !important; 
        } 
    </style> 

    I believe that this page will be helpful in order to open the RadWindow. Also, you can close the RadWindow control by using its client-side API described in this help page.
    I hope this helps.

    Sincerely yours,
    Fikret Mustafa
    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