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

Hide/Remove folder Path in Image Manager

2 Answers 229 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Aminul
Top achievements
Rank 1
Aminul asked on 30 Jun 2014, 07:44 AM
Hello,

I am using Image Manager in RadEditor. But I can't hide/Remove folder Path. Actually I don't want to show to user where his/her files located in our system.
Please see red box in attached file.

I tried to make it by changing css; .RadFileExplorer .rfeAddressBox{display: none !important;} but its working only RadFileExplorer not working in Image Manager in RadEditor.

I also tried by using ExternalDialogsPath but its not working:

1) Register the external dialog files of RadEditor:
<telerik:radeditor runat="server" ExternalDialogsPath="~/EditorDialogs" ID="RadEditor1">
   <TemplateManager ViewPaths="~/" UploadPaths="~/" />
   <ImageManager ViewPaths="~/" UploadPaths="~/" />
</telerik:radeditor>

2) Open the \EditorDialogs\FileBrowser.ascx file, locate the RadFileExplorer control and set the VisibleControls property with the
following value, e.g.
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="410px"
Width="400px" TreePaneWidth="150px"
VisibleControls="ContextMenus,Grid,Toolbar,TreeView" runat="Server"
EnableOpenFile="false" AllowPaging="true" />


Could anyone can help me to get this done.

Thanks
Aminul

2 Answers, 1 is accepted

Sort by
0
Accepted
Ianko
Telerik team
answered on 02 Jul 2014, 10:24 AM
Hi Aminul,

You can try if setting a DialogCssFile to a CSS file with a rule that hides the input element suits you.

Example:

ASP.NET
<telerik:RadEditor runat="server" ID="RadEditor1" DialogsCssFile="Styles/Styles.css">
    <ImageManager ViewPaths="~/Images" />
</telerik:RadEditor>

Styles.css
.RadFileExplorer input.rfeAddressBox {
    display:none;
}


Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Aminul
Top achievements
Rank 1
answered on 03 Jul 2014, 07:43 AM
Hi Lanko

Yes, Its working now. Thanks for help me to get it done.

Thanks
Aminul
Tags
Editor
Asked by
Aminul
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Aminul
Top achievements
Rank 1
Share this question
or