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

radwindow - browser window problem

1 Answer 59 Views
Window
This is a migrated thread and some comments may be shown as answers.
Abdul Kadar
Top achievements
Rank 1
Abdul Kadar asked on 12 Sep 2009, 05:43 PM

Hi,

I need to set the browser window disable until the user click OK/Cancel button in the radwindow
I saw the example , in TELERIK site,http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
As like in this example, when the user clicks the "Choose Destination & Date" button , a radwindow appears. I got the same effect in my radwindow sample application.In telerik example, when the user clicks the Choose City icon ,  another radwindow opens. At that time, the browser window is disabled. I need that effect in the browser window .please help me regarding this urgently.
Thanks in Advance.

<
telerik:RadWindowManager ID="RadWindowManager1" ReloadOnShow="true" runat="server" Skin="Outlook" Animation="Fade">

 <Windows>

 <telerik:RadWindow ID="radwindow1" runat="server"

ShowContentDuringLoad="False"

 NavigateUrl="window1.aspx"

 title = "New Contact" style="display:none;" Behavior="Default" InitialBehavior="None" Left="" Modal="true" Top="" VisibleStatusbar="true"></telerik:RadWindow>

 </Windows>

 </telerik:RadWindowManager>

 

 

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 14 Sep 2009, 08:44 AM
Hi Abdul Kadar,

I already answered your other thread and for your convenience and for others who might encounter the same issue I pasted my reply below:


I see from your code that you have set the Modal property of the RadWindow and that is why if you open the correct RadWindow there should not be a problem in disabling the browser page while the RadWindow has been opened. That is why the only reason for the problem you describe which I can think of is that you have provided a wrong ID in the radopen function. Please, make sure that you have correctly spelled the ID of the particular RadWindow (note that the casing matters and you should keep it because javascript is case sensitive and radwindow1 and RadWindow1 are different objects).

Another possible reason for the problem could be if you have two RadWindowManager controls on your page (e.g if you have one manager on a MasterPage and another one on the content page or in a user control). Please, verify this and remove one of them and use the other one instead.

In case my assumptions and explanations do not help, please provide a fully runnable sample code along with detailed explanations of the exact desired behavior and I will do my best to help.

Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Abdul Kadar
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or