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

Remove Icons from Grid

1 Answer 78 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Craig Estes
Top achievements
Rank 1
Craig Estes asked on 10 May 2010, 11:02 PM
Can the file type icons be removed from the grid portion of the fileexplorer control?

1 Answer, 1 is accepted

Sort by
0
Petio Petkov
Telerik team
answered on 11 May 2010, 12:17 PM
Hello Craig Estes,

You can easily control this behavior by CSS. All you need to do is to modify the skin file (all  .RadFileExplorer .writeDesiredFileExtension css classes) or you can directly remove all images by setting background-image: none !important;   to the .rfeFileExtension css class, e.g.
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        .RadFileExplorer .rgRow .rfeFileExtension
        
            background-image: none  !important;    
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadFileExplorer ID="fileExplorer" runat="server" DisplayUpFolderItem="True"
            EnableCopy="True" Skin="Windows7" Configuration-MaxUploadFileSize="2000000000"
            Width="524px" TreePaneWidth="150px">
        </telerik:RadFileExplorer>
    </div>
    </form>
</body>
</html>
Hope this helps.


All the best,
Petio Petkov
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
Craig Estes
Top achievements
Rank 1
Answers by
Petio Petkov
Telerik team
Share this question
or