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

Add custom column in Image Manager (FileBrowser)

1 Answer 68 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Mattias
Top achievements
Rank 1
Mattias asked on 23 Apr 2014, 09:56 AM
I'm looking for a way to change the columns in the Image Manager. I use already the FileBrowser.ascx from the EditorDialogs folder. The problem is that there is only a ascx page and no code behind were I can change the default behaviour.
In the FileBrowser.ascx it looks like this (default):
<telerik:RadFileExplorer ID="RadFileExplorer1" Height="450px" Width="400px" TreePaneWidth="150px"
    runat="Server" EnableOpenFile="false" AllowPaging="true" PageSize="100" />

The default columns are now Filename and Size, but I would also like to show the Title field from the Image library.

Is it possible to replace this with a custom class that has the RadFileExplorer as a base class? Or is it possible to change/add columns via JavaScript?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 25 Apr 2014, 02:45 PM
Hi Mattias,

No, it is not possible to add custom columns via JavaScript, but you can use the approach from this KB article in order to add code behind to an external dialog - Displaying single upload control in the FileBrowser Upload manager

Once you do it, you can follow the steps described here in order to add a custom column to the FileExplorer control.

Hope this helps.

Kind regards,
Vessy
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.

 
Tags
WebParts for SharePoint
Asked by
Mattias
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or