StartMenu V2

  1. #1

    StartMenu V2

    Hi All,

    I want to add nested menu to V2 of StartMenu (desktop example),
    is there any documentation that explain valid tags inside <StartMenu>?

    Thanks
  2. #2
    Hi,

    Example
    <StartMenu Title="Ext.Net Desktop" Icon="Application" Height="300">
        <MenuItems>
            <ext:MenuItem runat="server" Text="Child menu">
                <Menu>
                    <ext:Menu runat="server">
                        <Items>
                            <ext:MenuItem runat="server" Text="Child Item 1" />
                            <ext:MenuItem runat="server" Text="Child Item 2" />
                        </Items>
                    </ext:Menu>
                </Menu>
            </ext:MenuItem>
        </MenuItems>
    </StartMenu>
    Last edited by Daniil; Jul 03, 2012 at 8:07 AM.
  3. #3
    Thanks a lot.
  4. #4

    how i can translate this to code and run it from the aspx.cs?

    how i can translate this to code and run it from the aspx.cs? tksss

    Quote Originally Posted by Daniil View Post
    Hi,

    Example
    <StartMenu Title="Ext.Net Desktop" Icon="Application" Height="300">
        <MenuItems>
            <ext:MenuItem runat="server" Text="Child menu">
                <Menu>
                        <ext:Menu runat="server">
                        <Items>
                            <ext:MenuItem runat="server" Text="Child Item 1" />
                            <ext:MenuItem runat="server" Text="Child Item 2" />
                        </Items>
                    </ext:Menu>
                </Menu>
            </ext:MenuItem>
        </MenuItems>
    </StartMenu>
  5. #5
    Like this:

    Example
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Desktop1.StartMenu = new DesktopStartMenu();
        this.Desktop1.StartMenu.Title = "Ext.NET Desktop";
        this.Desktop1.StartMenu.Icon = Icon.Application;
        this.Desktop1.StartMenu.MenuItems.Add(new Ext.Net.MenuItem("Item"));
    }

Similar Threads

  1. StartMenu
    By sant3 in forum 1.x Help
    Replies: 3
    Last Post: Oct 26, 2011, 7:18 AM
  2. Add MenuItem to StartMenu dinamically
    By sant3 in forum 1.x Help
    Replies: 1
    Last Post: Sep 19, 2011, 8:31 PM
  3. StartMenu Title
    By threewonders in forum 1.x Help
    Replies: 2
    Last Post: Mar 17, 2011, 5:07 PM
  4. [CLOSED] Startmenu position
    By albayrak in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 30, 2011, 10:13 AM
  5. StartMenu
    By flaviodamaia in forum 1.x Help
    Replies: 1
    Last Post: Feb 11, 2009, 9:16 AM

Tags for this Thread

Posting Permissions