[CLOSED] Problem to use property "Maximized" from "Window"

Threaded View

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

    [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
    <%@ 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.
    Last edited by Daniil; Jan 18, 2013 at 2:34 PM. Reason: [CLOSED]

Similar Threads

  1. Replies: 1
    Last Post: Oct 05, 2012, 11:56 AM
  2. Replies: 1
    Last Post: Jun 26, 2012, 11:29 AM
  3. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  4. [CLOSED] SelectBox: Problem with characters "<" and ">"
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 03, 2011, 6:43 AM
  5. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM

Tags for this Thread

Posting Permissions