How to get multiple values of the argument passed from customised dialog box in default.aspx page?
Thank you.
1 Answer, 1 is accepted
0
Dobromir
Telerik team
answered on 20 Jan 2010, 02:38 PM
Hi Bibhudatta,
The arguments passed to the main page through RadWindow's close() method are the arguments used by the callback function of the custom dialog. This is an Object type parameter and it can be passed in any valid format. For example, you can pass an array with multiple values to be used for different scenarios in the callback function, e.g.:
/*Code snippet from the function that closes the custom dialog*/
getRadWindow().close(closeArguments); //use the close function of the getRadWindow to close the dialog and pass the arguments from the dialog to the callback function on the main page.
/* Callback function used by showExternalDialog() method*/