PDA

View Full Version : [CLOSED] Desktop icons not showing



fesuban
Jul 26, 2014, 11:34 AM
Hi There

If someone could please assist. I am using the desktop control in Ext.net and would like to know the following:

Why do the icons not show up when using the sample of the website
How do you hide the start button and task bar
How to hide just the start button with the task bar vissible


I have attached my webpage for reference in case I am missing something, but I used the examples page as a template.


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Desktop.aspx.cs" Inherits="Dashboard.ProtectedPages.Desktop" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Desktop</title>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server"/>


<ext:Desktop ID="Desktop1" runat="server">


<Modules>
<ext:DesktopModule ModuleID="MIS">
<Shortcut Name="Management Information System" IconCls="x-notepad-shortcut">

</Shortcut>
</ext:DesktopModule>

<ext:DesktopModule ModuleID="notepad">
<Shortcut Name="Notepad" IconCls="x-notepad-shortcut" SortIndex="2" />
<Launcher Text="Notepad" Icon="ApplicationForm" />
<Window>
<ext:Window ID="Window1" runat="server"
Title="Notepad"
Width="600"
Height="400"
Icon="ApplicationForm"
AnimCollapse="false"
Border="false"
HideMode="Offsets"
Layout="FitLayout"
CloseAction="Destroy">
<Items>
<ext:HtmlEditor ID="HtmlEditor1" runat="server" Text="Some <b>rich</b> <font color='red'>text</font> goes <u>here</u><br>Give it a try!">
</ext:HtmlEditor>
</Items>
</ext:Window>
</Window>
</ext:DesktopModule>
</Modules>

<DesktopConfig ShortcutDragSelector="true">
<ShortcutDefaults IconCls="x-default-shortcut"></ShortcutDefaults>

</DesktopConfig>


</ext:Desktop>

</body>
</html>


Thanks,
Faheem

Vladimir
Jul 28, 2014, 10:45 AM
I don't see where 'x-default-shortcut' css rule is defined in your example
Please see the following online example
http://examples2.ext.net/#/Desktop/Introduction/Overview/

Css rules for that example is defined in desktop.css file

fesuban
Jul 29, 2014, 3:44 PM
Thanks alot Vladimir. Didnt even see the CSS in the source code.

Much appreciated.