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

How Find RadWindow by Name in RadWindowManager

1 Answer 232 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 10 Feb 2009, 10:09 PM
I am programmatically adding radwindows to my radwindowmanager.  What's the best server-side code to use to search the radwindowmanager's windows and make sure the window does not exist already before adding it?  I am assuming the windows might "exist" across postbacks and want to avoid dups.

Couldn't find good example of server-side usage of Find and related methods against radwindowmanager window collection.

Thx

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 Feb 2009, 12:51 PM
Hello Kevin,

If you are creating windows on the client (with radopen()), they do not persist across postbacks. If you create the windows on the server, you should check the RadWindowManager's Windows collection. You can work with it in the same way as with any other server collection.


Best wishes,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Kevin
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Share this question
or