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

Is it possible to pass argument objects between windows?

1 Answer 102 Views
Window
This is a migrated thread and some comments may be shown as answers.
tbrown
Top achievements
Rank 1
tbrown asked on 21 Nov 2008, 03:31 PM

Hi all,

  1. I have page (page1) which contains a RadWindowManager with 2 configured RadWindows.
  2. On page1 I can click a button which gets an instance of the manager and calls RadWindowManager.Open to open my first popup page (popup1).
  3. On popup1  I can click a button which gets the instance of the manager and calls RadWindowManager.Open to open my second popup page (popup2).

All this works fine but would like to know how I can pass values between popup1 and popup2. Do I have to scrap using the manager and open each RadWindow with radopen?

 I have read the article ‘Returning Values From a Dialog’ and based my code around this using 3 pages (2 popups) rather than your 2 pages with one as a pop up example. I can create and populate popup1.argumants and pass them back to page1 but cannot accomplish this from popup1 to popup2.

Any help on this one would be much appreciated

Many thanks

Tim

1 Answer, 1 is accepted

Sort by
0
tbrown
Top achievements
Rank 1
answered on 24 Nov 2008, 08:38 AM
I solved this one myself by adding a RadWindowManager to popup1 and following your code outlined in your article ‘Returning Values From a Dialog’. I now have a manager on page1 and on popup1 but can transfer information between the windows using the window.argument property without any problems.

Many thanks

Tim
Tags
Window
Asked by
tbrown
Top achievements
Rank 1
Answers by
tbrown
Top achievements
Rank 1
Share this question
or