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

[Solved] Window radopen problem

2 Answers 320 Views
Window
This is a migrated thread and some comments may be shown as answers.
Iurie Coroban
Top achievements
Rank 1
Iurie Coroban asked on 23 Feb 2010, 05:55 PM
Hi,
 I have problems with opening windows from WindowManager.  I want to open two windows with different url, Size and Behaviours
I try to do this useing following javascript code:

wnd = window.radopen(url,

"RadWindow2"); 

 

 

 

and for other

wnd = window.radopen(url,

"RadWindow1"); 

 

 

 


window is opened, but not with size and behavoiurs that I want 

I'm using following code :

<telerik:RadWindowManager Skin="Windows7" ID="RadWindowManager1" runat="server"> 

 

<Windows 

 

<telerik:RadWindow ID="RadWindow1" Width="800px" Height="700px" AutoSize="false" ShowContentDuringLoad="true"  

 

ReloadOnShow="true" VisibleStatusbar="false" runat="server" Behaviors="Maximize,Close,Move,Resize,Reload"

 

NavigateUrl="">  

</telerik:RadWindow 

 

<telerik:RadWindow ID="RadWindow2" Width="400px" Height="200px" AutoSize="false" ShowContentDuringLoad="true"  

 

ReloadOnShow="true" VisibleStatusbar="false" runat="server" Behaviors="Close"

 

NavigateUrl="">

 

 

 

</telerik:RadWindow>

 

 

 

</Windows>

 

 </

 

telerik:RadWindowManager>

I don't think that is bug,maybe I don't know something.
Please help me to do this task.

 

 

 




 

 

 

 

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 24 Feb 2010, 05:52 AM
Hi Lurie,

The windows opened as expected with the different size and behaviors that is set for each, when I tried the code in my end. I am using RadControls version (2009, 3, 1314, 35).

An alternate method to achieve the same functionality is setting the properties for the windows from client side (when opening the window) after getting the reference to window object.

You can find out the important methods and properties of window object by going through the following link.
RadWindow Methods

Regards,
Shinu.
0
Accepted
Georgi Tunev
Telerik team
answered on 24 Feb 2010, 08:44 AM
Hi Iurie,

The code that you posted looks OK and is working as expected on our side. For convenience I attached a small sample along with a screenshot of the result - please check them and if you still experience problems, I would recommend to open a support ticket and to send us a small sample project that isolates the problem that you experience. Once we receive that project, we will check it right away.

Sincerely yours,
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.
Tags
Window
Asked by
Iurie Coroban
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or