[CLOSED] Viewport and Master page

  1. #1

    [CLOSED] Viewport and Master page

    Hello everyone,

    Could you add to Ext.net examples a sample of using Viewport and Master page?
    It would be nice if it were presented the same way you did basic examples.

    In case you already have it, could you post a link?

    Thank you.
    Last edited by Daniil; Apr 09, 2014 at 1:35 AM. Reason: [CLOSED]
  2. #2
    Hi @rbtceo,

    Sorry, I didn't quite understand the idea. Could you, please, clarify what you would like to see in that example?
  3. #3
    Here is a very basic example.

    Master Page
    <%@ Master Language="C#" %>
     
    <!DOCTYPE html>
     
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:Viewport runat="server">
                <LayoutConfig>
                    <ext:VBoxLayoutConfig Align="Stretch" />
                </LayoutConfig>
                <Content>
                    <asp:ContentPlaceHolder ID="Row1" runat="server" />
                    <asp:ContentPlaceHolder ID="Row2" runat="server" />
                </Content>
            </ext:Viewport>
        </form>
    </body>
    </html>
    Content Page
    <%@ Page Language="C#" MasterPageFile="~/Site1.master"  %>
    
    <asp:Content ContentPlaceHolderID="Row1" runat="server">
        <ext:Panel runat="server" Title="Panel 1" Flex="1"  />
    </asp:Content>
    <asp:Content ContentPlaceHolderID="Row2" runat="server">
        <ext:Panel runat="server" Title="Panel 2" Flex="2"  />
    </asp:Content>
  4. #4
    Thank you for the example.

    The idea was to add an example with a master page to https://examples2.ext.net/#/Viewport/

    The thread can be marked as solved for now.
  5. #5
    Ok, thank you for the suggestion.

Similar Threads

  1. Replies: 4
    Last Post: Feb 25, 2013, 9:23 AM
  2. [CLOSED] Master Page and Viewport
    By majestic in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Sep 04, 2010, 4:21 AM
  3. [CLOSED] [1.0] Master Page Viewport "comp is undefined"
    By Labyrinth in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 09, 2010, 6:38 AM
  4. Master Page, Centered Viewport
    By dankohler in forum Examples and Extras
    Replies: 1
    Last Post: Dec 22, 2009, 9:05 AM
  5. Replies: 7
    Last Post: Jul 19, 2008, 6:59 AM

Tags for this Thread

Posting Permissions