Creating a menu bar in .NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gommca
    New Member
    • Mar 2007
    • 3

    Creating a menu bar in .NET

    how to create a menu bar in .net
  • joerozario
    New Member
    • Mar 2007
    • 60

    #2
    use "menuitem" control form the tool bar

    Comment

    • prisesh26
      New Member
      • Sep 2006
      • 29

      #3
      if u r developing windows app u can select contextmenu control in toolbar.
      if its a web app.. u must write a script

      Comment

      • joerozario
        New Member
        • Mar 2007
        • 60

        #4
        if it is a web application then u have to write Java scrip to get the menus.

        u create a user control "banner of the web application" in this user control u write the javascript program for popup. then u use this user control in all the web pages

        Comment

        • computerenigma13
          New Member
          • Mar 2007
          • 36

          #5
          if you are using VS2005 you can find a dotnetbar and use the ribbon form to make a menu and make it look sleek at the same time i would use the dotnetbar it easy

          Comment

          • joerozario
            New Member
            • Mar 2007
            • 60

            #6
            Here is some sample code:

            Code:
             <asp:menu id="NavigationMenu" 
            disappearafter="2000"
            staticdisplaylevels="2"
            staticsubmenuindent="10" 
            orientation="Vertical"
            font-names="Arial" 
            target="_blank" 
            runat="server">
             
            <staticmenuitemstyle backcolor="LightSteelBlue"
            forecolor="Black"/>
            <statichoverstyle backcolor="LightSkyBlue"/>
            <dynamicmenuitemstyle backcolor="Black"
            forecolor="Silver"/>
            <dynamichoverstyle backcolor="LightSkyBlue"
            forecolor="Black"/>
             
            <items>
            <asp:menuitem navigateurl="Home.aspx" 
            text="Home"
            tooltip="Home">
            <asp:menuitem navigateurl="Music.aspx"
            text="Music"
            tooltip="Music">
            <asp:menuitem navigateurl="Classical.aspx" 
            text="Classical"
            tooltip="Classical"/>
            <asp:menuitem navigateurl="Rock.aspx"
            text="Rock"
            tooltip="Rock"/>
            <asp:menuitem navigateurl="Jazz.aspx"
            text="Jazz"
            tooltip="Jazz"/>
            </asp:menuitem>
            <asp:menuitem navigateurl="Movies.aspx"
            text="Movies"
            tooltip="Movies">
            <asp:menuitem navigateurl="Action.aspx"
            text="Action"
            tooltip="Action"/>
            <asp:menuitem navigateurl="Drama.aspx"
            text="Drama"
            tooltip="Drama"/>
            <asp:menuitem navigateurl="Musical.aspx"
            text="Musical"
            tooltip="Musical"/>
            </asp:menuitem>
            </asp:menuitem>
            </items>
             
            </asp:menu>

            Comment

            Working...