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

Restrict Image Upload size

1 Answer 94 Views
Editor
This is a migrated thread and some comments may be shown as answers.
mary
Top achievements
Rank 1
mary asked on 15 Sep 2010, 05:09 AM
Is there a way to restrict the image upload size in the Ajax Rad Editor? 
I have tried using,  <DocumentManager MaxUploadFileSize="50000" />, to limit it to 50k or less. 
But when clicking on the upload link in the image manager, i still see the text that says 
Max file size allowed: 200.00 KB.
Thanks!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Sep 2010, 08:53 AM
Hi Mary,

You have set the MaxUploadFileSize property for the Document Manager only, but not for the Image manager.
You should do the same for the Image Manager and the rest of the used managers, e.g.

    <telerik:RadEditor ID="RadEditor1" runat="server">
        <ImageManager MaxUploadFileSize="50000" ViewPaths="~/Files" UploadPaths="~/Files" />
        <DocumentManager MaxUploadFileSize="50000" ViewPaths="~/Files" UploadPaths="~/Files" />
    </telerik:RadEditor>

Sincerely yours,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
mary
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or