Desktop Module JS error

  1. #1

    Desktop Module JS error

    Hi,

    I am trying to set up a sample desktop application. Here is a code:
         
    
    
        <ext:Desktop ID="MyDesktop" runat="server" BackgroundColor="Black">
            <Shortcuts>
                <ext:DesktopShortcut IconCls="Resources/Images/Main/apps.png" ModuleID="Module1" Text="App 1" /> 
            </Shortcuts>
            <Modules>
                <ext:DesktopModule AutoRun="true" ModuleID="Module1" WindowID="winBrowser" />
            </Modules>
        </ext:Desktop> 
    
    
    
    
    
        <ext:DesktopWindow ID="winBrowser" runat="server" 
                                     Title="Web Browser" 
                                     Icon="World"
                                     Width="1000"
                                     Height="600" > 
    
    
        </ext:DesktopWindow>
    When I run my website js error comes up (Expected ';') and nothing is shown. As soon as I remove module item everything is shown. However, I cant link shortcut to a module then to open a window. Also what is IconCls? How do I set an icon for shortcut? I am running solution under VS 2008 on Vista Ultimate
  2. #2

    RE: Desktop Module JS error

    Hi,

    IconCls is css class name, not url to image

Similar Threads

  1. cant remove Shortcut from desktop module
    By Kaveh in forum 2.x Help
    Replies: 5
    Last Post: Jan 02, 2013, 5:57 PM
  2. Render dynamic module in Desktop
    By AIM System Ltd in forum 2.x Help
    Replies: 0
    Last Post: Jul 25, 2012, 7:31 AM
  3. Replies: 8
    Last Post: Apr 30, 2012, 1:51 PM
  4. Replies: 1
    Last Post: Aug 17, 2010, 10:07 PM
  5. [CLOSED] request filtering module Error
    By LeeTheGreek in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 17, 2009, 3:12 AM

Posting Permissions