Multiple RadWindowManagers

2 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Jan 2010 Link to this post

    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
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 18 Jan 2010 Link to this post

    Never mind; I'm sorted.

    --
    Stuart
Back to Top