PDA

View Full Version : Desktop Module JS error



fenix2222
Mar 13, 2009, 11:00 AM
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

Vladimir
Mar 29, 2009, 3:21 PM
Hi,

IconCls is css class name, not url to image