[CLOSED] Desktop Shortcut

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Desktop Shortcut

    Hi,

    i am trying to add a tool tip for desktop shortcut, but it does not seem to work

    Default.aspx
    ---------------------

    
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CooliteDemo._Default" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>BlueprintOnline</title>
        <style type="text/css">
            #ux-taskbar-start, #TaskBarStart-xsplit
            {
                display: none;
            }
            .start-button
            {
                background-image: url(vista_start_button.gif) !important;
            }
            .icon-AddressBook
            {
                background-image: url(resources/images/address_book_btn_off.png) !important;
                background-repeat: no-repeat;
                background-position: center bottom;
                filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="resources/images/address_book_btn_off.png");
            }
            .desktopEl
            {
                position: absolute !important;
                background-color: black;
            }
            .desktopEl1
            {
                position: absolute !important;
            }
            .desktopElText
            {
                color: #4dc8e9;
                font-size: medium;
                font-weight: bold;
            }
        </style>
    </head>
    <body>
        <form id="DefaultForm" runat="server">
        <ext:Hidden ID="ShowPermissions" runat="server" />
        <ext:Hidden ID="ShowAnnouncements" runat="server" />
        <ext:ResourceManager ID="ResourceManager1" DirectMethodNamespace="BPOLX" runat="server"
            RethrowAjaxExceptions="true" Theme="Slate">
        </ext:ResourceManager>
        <ext:Desktop ID="MyDesktop" runat="server" BackgroundColor="Black" ShortcutTextColor="White">
            <Modules>
                <ext:DesktopModule ModuleID="DesktopModule6" WindowID="winPermissions">
                    <Launcher ID="Launcher6" runat="server" Text="Permissions" Icon="UserTick" />
                </ext:DesktopModule>
                <ext:DesktopModule ModuleID="DesktopModule7" WindowID="winAnnouncement">
                    <Launcher ID="Launcher1" runat="server" Text="Announcement" Icon="UserTick" />
                </ext:DesktopModule>
            </Modules>
            <Shortcuts>
                <ext:DesktopShortcut ModuleID="DesktopModule6" X="100" Y="200" ShortcutID="Shortcut1"
                    IconCls="shortcut-icon icon-AddressBook" />
                <ext:DesktopShortcut ModuleID="DesktopModule7" X="100" Y="270" ShortcutID="Shortcut2"
                    IconCls="shortcut-icon icon-AddressBook" />
            </Shortcuts>
        </ext:Desktop>
        <ext:ToolTip ID="ToolTip1" runat="server" Html="Hello! I'm <SPAN class=highlight>shortcut</SPAN>'s <SPAN class=highlight>tooltip</SPAN>."
            Target="Shortcut1-shortcut" />
        <ext:ToolTip ID="ToolTip2" runat="server" Html="Hello! I'm <SPAN class=highlight>shortcut</SPAN>'s <SPAN class=highlight>tooltip</SPAN>."
            Target="Shortcut2-shortcut" />
    
    
    
        <ext:DesktopWindow ID="winPermissions" runat="server" Title="Permissions" Width="600"
            Height="500" Maximizable="false" Layout="Fit">
            <Items>
                <ext:Panel runat="server" ID="pnlPermission" />
            </Items>
            <%-- <DirectEvents>
                <BeforeShow OnEvent="ShowPermissionControl" />
                <BeforeHide OnEvent="HidePermissionControl" />
            </DirectEvents>--%>
        </ext:DesktopWindow>
        <ext:DesktopWindow ID="winAnnouncement" runat="server" Title="Announcements" Icon="SoundOut"
            PageX="25" PageY="25" Maximizable="false" Layout="Fit">
            <Items>
                <ext:Panel ID="pnlAnnouncement" runat="server" />
            </Items>
            <Listeners>
                <BeforeRender Handler="this.setSize(600, 460);" />
            </Listeners>
            <%--  <DirectEvents>
                <BeforeShow OnEvent="ShowAnnouncementControl" />
                <BeforeHide OnEvent="HideAnnouncementControl" />
            </DirectEvents>--%>
        </ext:DesktopWindow>
        </form>
    </body>
    </html>
    Last edited by geoffrey.mcgill; Jan 05, 2011 at 8:11 PM. Reason: [CLOSED]

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. How to load dynamic user controls on desktop shortcut?
    By laphuynhkien in forum 2.x Help
    Replies: 4
    Last Post: Aug 23, 2012, 5:58 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. Replies: 5
    Last Post: Jan 19, 2011, 3:17 PM
  5. [Desktop] Resize shortcut text?
    By LuB in forum 1.x Help
    Replies: 0
    Last Post: May 06, 2010, 12:51 PM

Posting Permissions