Restrict Image Type

2 posts, 0 answers
  1. Bill
    Bill avatar
    28 posts
    Member since:
    Feb 2007

    Posted 24 Jan 2013 Link to this post

    I'm trying to use the Image Editor (WPF Q3 2012 WPF4.0) for the first time.  In the open and save dialog is there a way to restrict the user to just JPG files (*.jpg, *.fpeg) types.  I don't see how to do this from the documentation.
  2. Petya
    Petya avatar
    983 posts

    Posted 28 Jan 2013 Link to this post

    Hi Bill,

    In order to achieve the desired behavior, you can change the filters of the OpenFileDialog shown when clicking the open button by attaching a custom open command to it. Please find attached a project that demonstrates the approach.

    Let us know if there is anything else we can assist you with.
    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top