Hi
I have successfully created a custom dialog for my radEditor which uses a radFileExplorer to display a list of assets which a user can add to their page. At the moment the user needs to double click on one of the items in the radFileExplorer in order to select and insert it into the underlying radEditor.
I wish to make my dialog work like the out of the box dialogs (e.g. Image Manager) and implement "Insert" and "Cancel" buttons. "Insert" will insert the selected asset (mimicing what happens already on a double click it) and "Cancel" will close my custom dialog. I cannot figure out the code which I should be using on my custom buttons implement this.
Can you help ?
Thanks in advance.
I have successfully created a custom dialog for my radEditor which uses a radFileExplorer to display a list of assets which a user can add to their page. At the moment the user needs to double click on one of the items in the radFileExplorer in order to select and insert it into the underlying radEditor.
I wish to make my dialog work like the out of the box dialogs (e.g. Image Manager) and implement "Insert" and "Cancel" buttons. "Insert" will insert the selected asset (mimicing what happens already on a double click it) and "Cancel" will close my custom dialog. I cannot figure out the code which I should be using on my custom buttons implement this.
Can you help ?
Thanks in advance.