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

[Solved] Hide the textbox in Image Manager (showing files path as server Url )

2 Answers 172 Views
Editor
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 10 Dec 2009, 01:26 PM
Hi,

  I am using image manager to upload and insert image to editor.Server path is displaying in textbox that under the menus..i would like to hide the textbox(path) .i don't want the users  to see the server files in the image manager

Can you tell me the solution?

Thanks for any help

2 Answers, 1 is accepted

Sort by
0
sabarishbabu
Top achievements
Rank 1
answered on 11 Dec 2009, 05:34 AM
Can you anybody tell the solution?

Thanks for any help
0
Rumen
Telerik team
answered on 11 Dec 2009, 04:30 PM
Hi,

Here is how to hide the address bar:
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" />

3) Save the files, load the page with the editor and test the dialogs.

Let me know if you want to hide other elements in the file browser dialogs.


Kind regards,
Rumen
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
sabarishbabu
Top achievements
Rank 1
Answers by
sabarishbabu
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or