Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to show sub menu items horizontal

how to show sub menu items horizontal

Scheduled Pinned Locked Moved ASP.NET
helptutorial
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    unil Dhiman
    wrote on last edited by
    #1

    Hi All can anybody tell me that how to show sub menu horizontal. i create menu using web.sitemap. i wrote all menu and submenu in this sitemap file now it showing like Home : About Us Contact Us Search but i need to show like this Home: About Us | Contact Us | Search please help me. thanks.

    A 1 Reply Last reply
    0
    • U unil Dhiman

      Hi All can anybody tell me that how to show sub menu horizontal. i create menu using web.sitemap. i wrote all menu and submenu in this sitemap file now it showing like Home : About Us Contact Us Search but i need to show like this Home: About Us | Contact Us | Search please help me. thanks.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      You can change the orientation property

      Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

      U 1 Reply Last reply
      0
      • A Abhijit Jana

        You can change the orientation property

        Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

        U Offline
        U Offline
        unil Dhiman
        wrote on last edited by
        #3

        hi Abhijit thanks. i checked this .but not working...

        A 2 Replies Last reply
        0
        • U unil Dhiman

          hi Abhijit thanks. i checked this .but not working...

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          Just Select "Menu" From Tool Box and Chnage the "Orientation" Property. can you infrom me the details problem you are facing?

          Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

          1 Reply Last reply
          0
          • U unil Dhiman

            hi Abhijit thanks. i checked this .but not working...

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            Try this ... I have just Put aspx code for you <asp:Menu ID="Menu1" runat="server" BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" Orientation="Horizontal" StaticSubMenuIndent="10px"> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <DynamicHoverStyle BackColor="#284E98" ForeColor="White" /> <DynamicMenuStyle BackColor="#B5C7DE" /> <StaticSelectedStyle BackColor="#507CD1" /> <DynamicSelectedStyle BackColor="#507CD1" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <Items> <asp:MenuItem Text="Home" Value="Home"></asp:MenuItem> <asp:MenuItem Text="About US" Value="About US"></asp:MenuItem> <asp:MenuItem Text="Contact Us" Value="Contact Us"></asp:MenuItem> </Items> <StaticHoverStyle BackColor="#284E98" ForeColor="White" /> </asp:Menu>

            Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

            U 1 Reply Last reply
            0
            • A Abhijit Jana

              Try this ... I have just Put aspx code for you <asp:Menu ID="Menu1" runat="server" BackColor="#B5C7DE" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" Orientation="Horizontal" StaticSubMenuIndent="10px"> <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <DynamicHoverStyle BackColor="#284E98" ForeColor="White" /> <DynamicMenuStyle BackColor="#B5C7DE" /> <StaticSelectedStyle BackColor="#507CD1" /> <DynamicSelectedStyle BackColor="#507CD1" /> <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" /> <Items> <asp:MenuItem Text="Home" Value="Home"></asp:MenuItem> <asp:MenuItem Text="About US" Value="About US"></asp:MenuItem> <asp:MenuItem Text="Contact Us" Value="Contact Us"></asp:MenuItem> </Items> <StaticHoverStyle BackColor="#284E98" ForeColor="White" /> </asp:Menu>

              Best Regards ----------------- Abhijit Jana Microsoft Certified Professional "Success is Journey it's not a destination"

              U Offline
              U Offline
              unil Dhiman
              wrote on last edited by
              #6

              thnks Abhijit.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups