How to get the Desktop Module Window Id
Hi,
I am creating a desktop. How can i get the window id of the module of the desktop. My code is as below:-
Code:
<%@ Page Language="C#" CodeBehind="~/Default.aspx.cs" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Register Namespace="Test" TagPrefix="aa" %>
<html>
<head runat="server">
<title>Listagem</title>
</head>
<body>
<div>
<ext:ResourceManager runat="server" />
<ext:Desktop ID="Desktop1" runat="server">
<Modules>
<ext:DesktopModule ModuleID="Hello" AutoRun="true">
<Window>
<ext:Window runat="server"
Plain="true"
Padding="10"
Width="150"
Height="100"
Title="Greeting"
CloseAction="Destroy"
Maximizable="false"
Minimizable="false">
<Content>
Welcome to Ext.Net desktop!
</Content>
</ext:Window>
</Window>
</ext:DesktopModule>
<ext:DesktopModule ModuleID="notepad">
<Shortcut Name="Notepad" IconCls="x-notepad-shortcut" SortIndex="2" />
<Launcher Text="Notepad" Icon="ApplicationForm" />
<Window>
<ext:Window runat="server"
ID="WindowNotepad"
Title="Notepad"
Width="600"
Height="400"
Icon="ApplicationForm"
AnimCollapse="false"
Border="false"
HideMode="Offsets"
Layout="FitLayout"
CloseAction="Destroy">
<Items>
<ext:HtmlEditor 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>
</ext:Desktop>
</div>
</body>
</html>