Shortcut Icon Not Displaying on Desktop

  1. #1

    Shortcut Icon Not Displaying on Desktop

    Copying the code directly from the example download for the desktop I am able to see the desktop and see and launch the shortcut but there is no icon. I have tried changing the value in IconCls to several different values but cannot get an image to display. Any help would be appreciated. Also, is there a list of icons that are available and their associated name? I am not having much luck finding anything out there.

     
     Html.X().DesktopModule()
                        .ModuleID("notepad")
                        .Shortcut(
                            Html.X().DesktopShortcut()
                                .Name("Notepad")
                                .IconCls("x-notepad-shortcut")
                                .SortIndex(1)
                        )
    Version: 2.5.2.10552 MVC
  2. #2
    You must add CSS for this example


    .x-default-shortcut {
        background-image : url(window48x48.png);
    } 
    
    .x-grid-shortcut {
        background-image : url(grid48x48.png);
    } 
    
    .x-im-shortcut {
        background-image : url(im48x48.gif);
    }
    
    .x-notepad-shortcut {
        background-image : url(notepadLarge.png);
    }
    
    .x-status-shortcut {
        background-image : url(statusLarge.png);
    }
    
    .x-bold-text .x-btn-inner{
        font-weight: bold !important;
    }
    
    .x-long-label{
        height:auto !important;
    }
    Last edited by Daniil; Jun 05, 2014 at 6:44 AM. Reason: Please use [CODE] tags
  3. #3

    Thanks othmanee

    Can't believe I missed that one. Thanks for the help!

Similar Threads

  1. Can we Remove Desktop Shortcut.
    By nagesh in forum 2.x Help
    Replies: 16
    Last Post: Jan 18, 2013, 1:50 PM
  2. cant remove Shortcut from desktop module
    By Kaveh in forum 2.x Help
    Replies: 5
    Last Post: Jan 02, 2013, 5:57 PM
  3. Desktop Shortcut BUG on IE
    By joao.msdn in forum 1.x Help
    Replies: 8
    Last Post: Jun 27, 2011, 6:46 AM
  4. [CLOSED] Desktop Shortcut
    By schellappa in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 14, 2011, 12:08 PM
  5. [Desktop] Resize shortcut text?
    By LuB in forum 1.x Help
    Replies: 0
    Last Post: May 06, 2010, 12:51 PM

Tags for this Thread

Posting Permissions