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

Issue with RadWindow Manager

1 Answer 74 Views
Quick Fixes
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gururaj B
Top achievements
Rank 1
Gururaj B asked on 04 Jan 2010, 09:49 AM

Am a ASP.Net developer using Telerik Controls first time.

We have a Telerik Tabs in which we have 1 RadGrid in each ofthem.

On click of each grids rows we open a RadWindow as shownbelow.

<telerik:RadWindowManager ID="testRadWindowManager " DestroyOnClose="true"ReloadOnShow="true"runat="server"VisibleStatusbar="false"

Behaviors="Close,Move,Resize" ShowContentDuringLoad="true" Modal="True" Width="1004px"

Height="550px"Top="5px"Left="0px">

<Windows>

<telerik:RadWindow ID="RadWindow1"DestroyOnClose="true"ReloadOnShow="true"runat="server"VisibleStatusbar="false"Behaviors="Close,Move,Resize"

ShowContentDuringLoad="true"Width="1004px"Height="550px"Top="5px"Left="0px">

</telerik:RadWindow>

</Windows>

</telerik:RadWindowManager>

Now when the user clicks a RadGrid row in side tab1 opens upproperly and when user clicks other RadGrid row in tab2 say on which we need toopen a RadWindow opens up but with all the same properties of RadWindow placedin tab 1.

We need separate properties like say Width and Height of theRadWindow openned from different tabs. Basically same properties are being setto the RadWindows in other tabs too which we don’t want. We want to giveseparate Width and Height for every RadWindow placed in the samepage(AJAXified).

Request you to provide the necessary steps to do to resolvethis issue.

Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 06 Jan 2010, 12:54 PM
Hello Gururaj B,

The provided code snippet does not show how exactly you open the RadWindows but I assume that you do so by using the radopen function. If so, you should reference the RadWindow there and use the client-side method setSize to set the desired different size, e,g as shown below:

var oWnd = radopen(url, WindowName);
oWnd.setSize(myWidth, myHeight);

Let me know if you need further assistance.

All the best,
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
Quick Fixes
Asked by
Gururaj B
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or