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

Disable Thumbnails View

3 Answers 80 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 02 Feb 2016, 03:56 PM
Hello. Is there a way to disable/hide the Thumbnails View on the File Explorer (for Document Manager, Flash Manager, Image Manager, et. al.)? If so, can someone give an example of how to set this property in code, either client-side or server-side?

3 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 02 Feb 2016, 08:18 PM
To be a bit more specific, I have a RadEditor implementation that uses the various file managers, such as Document Manager, Image Manager, Flash Manager, etc. I need to be able to access the FileExplorer objects that are bound to that RadEditor in order to change the VisibleControls on each of those FileExplorer objects.
0
Michael
Top achievements
Rank 1
answered on 02 Feb 2016, 09:20 PM
After digging further, it seems that unless I use External Dialog files, I'm limited as to what I can customize. So I suppose that's my answer.
0
Accepted
Vessy
Telerik team
answered on 03 Feb 2016, 11:38 AM
Hi Michael,

Your observation is totally correct - the only way to customize the Visible Controls of FileExplorer in a RadEditor scenario is to enable the ExternalDialogs for the later. The FileExplorer's declaration used for all dialogs can be found in the FileBrowser.ascx file, so it is enough to define the desired visible controls in it:
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="400px" Width="400px" TreePaneWidth="150px"
runat="Server" EnableOpenFile="false" AllowPaging="true" PageSize="100"
VisibleControls="AddressBox,ContextMenus,Grid,Toolbar,TreeView"/>


Regards,
Vessy
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
FileExplorer
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or