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

Multiple RadWindowManagers

1 Answer 44 Views
Window
This is a migrated thread and some comments may be shown as answers.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 15 Jan 2010, 04:35 PM
I'm looking at some code I've inherited.

The page uses a number of UserControls some of which have RadWindowManagers on them.

I find myself needing to call some of the dialogs in /one/ UserControl from within another UserControl.

I know that I could move all the window definitions to the page that holds them, but some of the controls are used on multiple pages and that means duplicating the definitions.

What's the best way of proceeding?

Should I, from within UserControlA, just $find the window in UserControlB? Or should I $find the window manager in UserControlB and call its open() method?

If it makes any difference, the managers in UserControlA and UserControlB set a number of default properties for the window definitions contained in them and I want those defaults to be used.

--
Stuart

1 Answer, 1 is accepted

Sort by
0
Stuart Hemming
Top achievements
Rank 2
answered on 18 Jan 2010, 03:05 PM
Never mind; I'm sorted.

--
Stuart
Tags
Window
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Stuart Hemming
Top achievements
Rank 2
Share this question
or