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

Is it possible to override the 'Filename'

1 Answer 63 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Glen Coventon
Top achievements
Rank 1
Glen Coventon asked on 01 Mar 2010, 09:49 PM
We are using the FileExplorer as part of a document managment system and a client requirement is that documents should show a 'friendly name'. E.g. document1.doc should be shown to the end user as 'Policy 1'. I have written my own file system provider and have been able to add 'friendly name' as an extra column (friendly name is stored in an SQL server database with other document properties).

Is is possible to override the 'Filename' column text with the friendly name from the database (so I can keep the icon and sub folder links) in the first column of the grid?

Thank you for your help.

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 04 Mar 2010, 03:04 PM
Hello Glen,

In your case I recommend you to add a new column to the grid, next to the Filename column and set the Filename column to be invisible. I recommend you to hide the column by setting its Display property to false:

protected void Page_Load(object sender, EventArgs e)
{
    RadFileExplorer1.Grid.Columns[0].Display = false;
}

I hope this helps.


Regards,
Fiko
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
Tags
FileExplorer
Asked by
Glen Coventon
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or