[CLOSED] ext:Window position

  1. #1

    [CLOSED] ext:Window position

    I need to set ext:window position at the bottom of the page and width that equals page width. How to do that?
    Last edited by Daniil; Aug 27, 2013 at 4:58 AM. Reason: [CLOSED]
  2. #2
    Hi @RRD,

    Please look at the example.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    
        <script>
            var onAfterRender = function (win) {
                win.setWidth(Ext.getBody().getWidth());
                win.show(null, function () {
                    this.alignTo(Ext.getBody(), "bl-bl");
                }); 
            };
        </script>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Window ID="Window1" runat="server" Hidden="true">
                <Listeners>
                    <AfterRender Fn="onAfterRender" Delay="1" />
                </Listeners>
            </ext:Window>
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] How to position a window into a desktop on window open
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 26, 2012, 1:59 PM
  2. [CLOSED] Position window over existing div
    By tjbishop in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: May 12, 2011, 5:58 PM
  3. [CLOSED] Window position relative
    By 78fede78 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 24, 2010, 4:46 PM
  4. ext:Window position
    By haltenberg in forum 1.x Help
    Replies: 2
    Last Post: Aug 13, 2008, 6:21 PM
  5. Window Position between postbacks
    By tonytony in forum 1.x Help
    Replies: 4
    Last Post: Aug 08, 2008, 11:38 AM

Tags for this Thread

Posting Permissions