This is a migrated thread and some comments may be shown as answers.

[Solved] Image Manager File Uploader Change Files of Type

1 Answer 302 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Angela
Top achievements
Rank 1
Angela asked on 25 Nov 2009, 10:20 AM
Hi,

How do you change the files of type available upon clicking the Browse button in the FileUploader.ascx dialog? I only want to limit it with the file extensions allowed to be uploaded. I hope you can help me out here.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 26 Nov 2009, 12:07 PM
Hello Angela,

I am not quite sure whether you want to customize the "browse" or the "upload" dialogs, so I have attached screenshots of both dialogs.

If you want to restrict the types of the files that can be uploaded, you can do that by setting the SearchPatterns property :

<telerik:radeditor runat="server" ID="RadEditor1"
    <ImageManager
        UploadPaths="~/images"
        ViewPaths="~/images"
        DeletePaths="~/images"
        SearchPatterns="*.gif,*.png" />
</telerik:radeditor>



If you want to change the file types that can be viewed in the "browse" dialog, however, this is not possible because it is a standard MS Windows dialog.

I hope this information helps.


Sincerely yours,
Dobromir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Angela
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or