Jan 04, 2011, 5:51 PM
[CLOSED] Desktop Shortcut
Hi,
i am trying to add a tool tip for desktop shortcut, but it does not seem to work
Default.aspx
---------------------
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]