[CLOSED] Dropdown tool in Window header

  1. #1

    [CLOSED] Dropdown tool in Window header

    Is it possible to add a tool to a Window that will dropdown to more options? I am doing a portal page and each portlet have many options. I want to show something like igoogle or myahoo where the right corner contains an "Options" tool that dropdowns to more tools.
  2. #2

    RE: [CLOSED] Dropdown tool in Window header

    Hi,

    Try the following sample
    <%@ Page Language="C#" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!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">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            
            <ext:Menu ID="Menu1" runat="server">
                <Items>
                    <ext:MenuItem runat="server" Text="Item 1" Icon="Add" />
                    <ext:MenuItem runat="server" Text="Item 2" Icon="Accept" />
                    <ext:MenuItem runat="server" Text="Item 3" Icon="Decline" />
                </Items>
            </ext:Menu>
            
            <ext:Window runat="server">
                <Tools>
                    <ext:Tool Type="Down" Handler="#{Menu1}.show(toolEl);"></ext:Tool>
                </Tools>
            </ext:Window>
        </form>
      </body>
    </html>
  3. #3

    RE: [CLOSED] Dropdown tool in Window header

    Thanks!

Similar Threads

  1. Replies: 4
    Last Post: Dec 27, 2012, 5:47 AM
  2. Replies: 8
    Last Post: Sep 13, 2011, 8:47 PM
  3. Replies: 6
    Last Post: Feb 08, 2011, 6:17 PM
  4. Replies: 4
    Last Post: May 27, 2010, 6:28 PM
  5. [CLOSED] Window | Toolbar | DropDown | IE Rendering Issue
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 28, 2009, 12:52 PM

Posting Permissions