Is it possible to override the 'Filename'

2 posts, 0 answers
  1. Glen Coventon
    Glen Coventon avatar
    1 posts
    Member since:
    Feb 2010

    Posted 01 Mar 2010 Link to this post

    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.
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 04 Mar 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top