
James Shelton Agar
Top achievements
Rank 2
James Shelton Agar
asked on 27 Nov 2009, 01:47 AM
Hi, I am already using ExternalDialogsPath to callup the imagemanager as standalone.
Just a few questions regarding to customization
1) how to hide treeview and addressbox
2) When i openup the imageditor, it automatically add _thumb to the filename so when i save it it will be a new file with _thumb, how do i avoid that (I am going to hide both options so user will only edit and cannot "save as")
otherwise it's a great control to use. thanks
7 Answers, 1 is accepted
0
Hello James,
In reference to your questions:
All the best,
Fiko
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.
In reference to your questions:
- You need to change the behavior of the RadFileExplorer control declared in that FileBrowser.ascx file in order to hide the TreeView and the AddressBox controls. This can be done by using this code:
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
Height
=
"410px"
Width
=
"400px"
TreePaneWidth
=
"150px"
runat
=
"Server"
EnableOpenFile
=
"false"
AllowPaging
=
"true"
VisibleControls
=
"ContextMenus,Grid, Toolbar"
>
<
Configuration
SearchPatterns
=
"*.*"
></
Configuration
>
</
telerik:RadFileExplorer
>
- You can avoid the suffix by using this code :
<
telerik:RadEditor
ID
=
"RadEditor1"
runat
=
"server"
>
<
ImageManager
ImageEditorFileSuffix
=
""
ViewPaths
=
"~/"
UploadPaths
=
"~/"
/>
</
telerik:RadEditor
>
All the best,
Fiko
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.
0

James Shelton Agar
Top achievements
Rank 2
answered on 17 Dec 2009, 12:23 AM
Your previously solution works perfect! thanks you.
Now there is an additional problem, that when I upload file with same name, it shows "A file with a same name as the target already exists"
How do I get over with it? I have override the storefile and actually customize a name by logic, so it will never actually save and overwrite existing
0
Hello James,
In the upload dialog you need to check the "" checkbox. In this case the file will be overridden.
Sincerely yours,
Fiko
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.
In the upload dialog you need to check the "" checkbox. In this case the file will be overridden.
Sincerely yours,
Fiko
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.
0

Mehwish
Top achievements
Rank 1
answered on 14 May 2012, 08:30 AM
Hi,
I want to ask you that if i want to hide some toolbar icons (e.g. New Folder button, refresh button) from 'ImageManager' then what should i do.
could you please help me out.
Regards,
Mehwish
I want to ask you that if i want to hide some toolbar icons (e.g. New Folder button, refresh button) from 'ImageManager' then what should i do.
- to hide new folder option i set the following css is my aspx but it does not work for me
could you please help me out.
Regards,
Mehwish
0
Hello Mehwish,
You should set the ExternalDialogsPath property points to the EditorDialogs folder
<telerik:RadEditor runat="server" ID="RadEditor1" ExternalDialogsPath="~/EditorDialogs">
<ImageManager ViewPaths="~/" UploadPaths="~/" />
</telerik:RadEditor>
This will allow you to edit the FileBrowser.ascx file and hide the NewFolder button by setting the EnableCreateNewFolder="false" property in the RadFileExplorer declaration:
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="450px" Width="400px" TreePaneWidth="150px" EnableCreateNewFolder="false" runat="Server" EnableOpenFile="false" AllowPaging="true" VisibleControls="Grid,Treeview,Toolbar,ContextMenu" PageSize="100" />
Greetings,
Rumen
the Telerik team
You should set the ExternalDialogsPath property points to the EditorDialogs folder
<telerik:RadEditor runat="server" ID="RadEditor1" ExternalDialogsPath="~/EditorDialogs">
<ImageManager ViewPaths="~/" UploadPaths="~/" />
</telerik:RadEditor>
This will allow you to edit the FileBrowser.ascx file and hide the NewFolder button by setting the EnableCreateNewFolder="false" property in the RadFileExplorer declaration:
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="450px" Width="400px" TreePaneWidth="150px" EnableCreateNewFolder="false" runat="Server" EnableOpenFile="false" AllowPaging="true" VisibleControls="Grid,Treeview,Toolbar,ContextMenu" PageSize="100" />
Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

Mehwish
Top achievements
Rank 1
answered on 21 May 2012, 01:41 PM
Hi,
Thanks for your response but i am unable to solve my problem. I am using RadEditor not RadFileExplorer.
I have set ExternalDialogsPath="~/EditorDialogs" in radeditor bt it does not work for me.
could you please help me to hide some toolbar icons (e.g. New Folder button, refresh button) from 'ImageManager'; that open when i click on the toolbar button of ImageManager in RadEditor.
My scenario is:
i am using radeditor which has toolbar icon of image manager to insert image, when i click on it that 'image manager' window open which has futher toolbar buttons. i want to hide some buttons from that toolbar. What should i do???
Please find the attached png.
Regards,
Mehwish
Thanks for your response but i am unable to solve my problem. I am using RadEditor not RadFileExplorer.
I have set ExternalDialogsPath="~/EditorDialogs" in radeditor bt it does not work for me.
could you please help me to hide some toolbar icons (e.g. New Folder button, refresh button) from 'ImageManager'; that open when i click on the toolbar button of ImageManager in RadEditor.
My scenario is:
i am using radeditor which has toolbar icon of image manager to insert image, when i click on it that 'image manager' window open which has futher toolbar buttons. i want to hide some buttons from that toolbar. What should i do???
Please find the attached png.
Regards,
Mehwish
0
Hello,
Yes, I know that you use RadEditor, but RadFileExplorer is used in its File Browser dialogs (Image, Document, Media managers) and for this reason you need to copy the EditorDialogs installation folder to your project and set the ExternalDialogsPath to point to its location. After that open the FileBrowser.ascx file, locate RadFileExplorer file and set its EnableCreateNewFolder="false" property to hide the Create new folder button.
You can find more information in the following live demo: Customize Built-in Dialogs.
Make sure that you are using the latest version of RadEditor to be able to use this property as well as the external dialog files.
All the best,
Rumen
the Telerik team
Yes, I know that you use RadEditor, but RadFileExplorer is used in its File Browser dialogs (Image, Document, Media managers) and for this reason you need to copy the EditorDialogs installation folder to your project and set the ExternalDialogsPath to point to its location. After that open the FileBrowser.ascx file, locate RadFileExplorer file and set its EnableCreateNewFolder="false" property to hide the Create new folder button.
You can find more information in the following live demo: Customize Built-in Dialogs.
Make sure that you are using the latest version of RadEditor to be able to use this property as well as the external dialog files.
All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.