Mar 13, 2009, 10:00 AM
Desktop Module JS error
Hi,
I am trying to set up a sample desktop application. Here is a code:
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