I have tried using this command (as per instructions in one of your blogs) to launch file open dialog immediately upon loading of ImageEditor with no success
imageEditor.Commands.Open.Execute(null);
I have put it in Loaded and ImageEditorLoaded functions, it does not work.
How should I do it?
1 Answer, 1 is accepted
0
Petya
Telerik team
answered on 09 Dec 2014, 05:43 PM
Hi Alex,
The Open and Save commands of RadImageEditor take advantage of the OpenFileDialog and SaveFileDialog classes. The Silverlight framework imposes limitations on when those dialogs can be shown and requires them to be the result of a user-initiated action. That said, invoking the command in an event handler would not be possible.
I hope this is useful.
Regards,
Petya
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.