Remove Icons from Grid

2 posts, 0 answers
  1. Craig Estes
    Craig Estes avatar
    2 posts
    Member since:
    May 2010

    Posted 10 May 2010 Link to this post

    Can the file type icons be removed from the grid portion of the fileexplorer control?
  2. Petio Petkov
    Petio Petkov avatar
    825 posts

    Posted 11 May 2010 Link to this post

    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" "">
    <head runat="server">
        <style type="text/css">
            .RadFileExplorer .rgRow .rfeFileExtension
                background-image: none  !important;    
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <telerik:RadFileExplorer ID="fileExplorer" runat="server" DisplayUpFolderItem="True"
                EnableCopy="True" Skin="Windows7" Configuration-MaxUploadFileSize="2000000000"
                Width="524px" TreePaneWidth="150px">
    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.
Back to Top