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

Radwindow OPEN/HIDE/SHOW

2 Answers 133 Views
Window
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 01 Jun 2009, 07:55 AM
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 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 01 Jun 2009, 09:47 AM
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.
0
Pero
Telerik team
answered on 01 Jun 2009, 10:11 AM
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.
Tags
Window
Asked by
Rahul
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Pero
Telerik team
Share this question
or