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

Opening multiple RadWindows based on same definition

1 Answer 110 Views
Window
This is a migrated thread and some comments may be shown as answers.
Paul Buxton
Top achievements
Rank 1
Paul Buxton asked on 20 Jul 2009, 04:24 PM
Hi,

I have a RadWindowManager, in which I have a Window definition caller UserDialog.

When I open this window, the source is set as an ASPX, complete with querystring variables to pass through a unqiue  userid.

This works absolutely fine, and the window was modal.

There is now a user request that they want to be able to open MULTIPLE windows of type UserDialog, hence I switched to non-modal.

When ever I try to open a second instance of Radwindow type UserDialog , I can't get it to do this though, as it seems to reuse the window already open.

Is it possible to open multiple Windows of definition UserDialog?

Thx
Paul,.

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 21 Jul 2009, 02:18 PM
Hello Paul,

No - if you have a RadWindow declared on the page and you call that same window by using radopen or $find() / show(), the window will be reused. You can have only one RadWindow with the same ID opened on that page.
What I can suggest in your case is not to call the RadWindow by its ID, but to open a new RadWindow (e.g. radopen("MyPage.aspx", null); for example) and to dynamically set the needed properties (width, height, modality etc.) by using its client-side API.

I hope this helps.


Sincerely yours,
Georgi Tunev
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
Paul Buxton
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or