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

ImageManager- How to limit number of image selectors?

1 Answer 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul Clark
Top achievements
Rank 2
Paul Clark asked on 10 Jun 2009, 08:46 AM
Hello

I am sure there must be an option for this, but I can't find it.
In the image manager I want there only to be one image selector when it first starts up rather than 3 and I don't want it to add a new one each time.
I also don't want the remove buttons.
Is there an option, similar  to the fileupload control that allows this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 11 Jun 2009, 10:01 AM
Hi Paul,

RadEditor does not offer a direct way to customize the File Upload control and it is possible to hide only the Remove and Add buttons using css styles. To hide the Remove and Add button in the Upload dialog you should register the external dialogs of RadEditor, open the EditorDialogs\FileBrowser.ascx file and put the following classes in it:

<style type="text/css">
.ruButton.ruAdd, .ruButton.ruRemove { display: none; }
</style>

Save the file and refresh the page to see the change.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Paul Clark
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or