Sep 26, 2013, 10:51 AM
[CLOSED] Pass parameter from grid to window and from window to DirectEvent
Hi,
I have a gridpanel with a Imagecommand and an upload-window.
I need to to do the following steps:
1. click ImageCommand
2. Open upload window
3. Pass record.data.ID to upload window
4. Upload an Image
5. Click Save
6. Call a DirectEvent with record.data.ID as parameter
How can I store record.data.ID in a window, what would be the correct ext.net way?
I could use global variables, but is there a better way?
Or, is there an easy way to ask for the last clicked ImageCommand/Row and get the id? The window is Modal
I have a gridpanel with a Imagecommand and an upload-window.
I need to to do the following steps:
1. click ImageCommand
2. Open upload window
3. Pass record.data.ID to upload window
4. Upload an Image
5. Click Save
6. Call a DirectEvent with record.data.ID as parameter
How can I store record.data.ID in a window, what would be the correct ext.net way?
I could use global variables, but is there a better way?
Or, is there an easy way to ask for the last clicked ImageCommand/Row and get the id? The window is Modal
Last edited by Daniil; Oct 04, 2013 at 5:53 AM.
Reason: [CLOSED]