[CLOSED] Problem to use property "Maximized" from "Window"
Hi,
I'm trying to show a window maximized in desktop component, using the property "Maximized" from "<ext:Window>", however when I set the property "Maximazed=true" and click to open the window, some strange behavior occurs.
I already see some threads talking about it, however none of them helped me fix it.
Here is my example:
Test.aspx
Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="CidadeDaConfeccao.Test" %>
<!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">
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<html>
<head id="Head1" runat="server">
<title>Test</title>
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Desktop ID="Desktop1" runat="server">
<Modules>
<ext:DesktopModule ModuleID="notepad">
<Shortcut Name="Bloco de notas" IconCls="x-notepad-shortcut" SortIndex="3" TextCls="x-shortcut-text"/>
<Launcher Text="Bloco de notas" Icon="ApplicationForm" />
<Window>
<ext:Window ID="Window2" runat="server"
Title="Notepad"
Width="600"
Height="400"
Icon="ApplicationForm"
AnimCollapse="false"
Border="false"
HideMode="Offsets"
Layout="FitLayout"
CloseAction="Destroy"
Maximized="true">
<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>
<StartMenu Title="Menu iniciar" IconPath="Application" Height="300"/>
</ext:Desktop>
</form>
</body>
</html>
Thanks for your attention.