By default, Open command of ImageEditor uses PNG files filer.
How do I change it so that it uses All Files by default?
1 Answer, 1 is accepted
answered on 11 Dec 2014, 06:08 PM
Thank you for contacting us.
The file types that are displayed in Open File Dialog (PNG, BMP, All Files, etc.) are defined by Filter property.
Then you could use FilterIndex property to set the wanted file type as default in the open dialog ("All Files"
in your case).
The AddImageInEditor() method from our online documentation demonstrates how you could achieve the needed behavior: link.
You can encapsulate this code in a custom command and change the OpenCommand property of RadImageEditorUI to use your command.
I hope this helps. Do not hesitate to get back to us if you have additional questions.
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.