Web Forms :: How To Show Submenu In Menu In Click Event
Sep 28, 2012
i have a menu, what i want is that when i click on parent item of menu then only subitem should display,mean i dont want to display subitem on mouseover. what should i do.Is there any property should i set or i have to write code for it .
I am using frames in my webpage.in one of the frames i have a menu control whose items are database driven.when click on the menu item, i want another page to be displayed in other frame.
now i want to pass the the selected menu item text to the other page using session variable which is in the menu item click event method.but the thing is when i click on the menu item, the click event is not firing.
is there any better way to pass the selected menu item text to the other page?
I am working on a website at the moment, I am using .NET 4 and VB. My site is contained within a Master Page and all working OK. I am using an ASP:MENU control which is driven by a web.sitemap file and works a treat. I have had an idea of something I would like to know but I am struggling to get it going correctly (not sure if it is even possible) What I am after doing is having the main categories of my website across the top horizonally (this part is no problem) and the sub menu items going vertically but down the left side of the page such as:
Logo Here Menu Head 1 Menu Head 2 Menu Head 3 Sub Menu Head 1 Sub Menu Head 2 Sub Menu Head 3
Does anyone have any idea if such a thing is possible or not?
I have for example a ASP Menu control having a static (File) and dynamic (Open, New) menu such as :
I am able to see this menu under VS 2008 under my development PC. But when I deploy the app to a IIS server, and run the app, the whole app appeared the same. Only the Menu has "File" for selection but the submenu items (Open and New) did not appear when the mouse cursor was moved over "File". Only the Outline of the dropdown box of the submenu appeared.
I have a problem with my visual studio 2008 for my ASP.NET application on one PC (HP with Windows XP). The Dynamic submenu items are not visible when mouse over a menu. The same application works fine on another PC. It worked fine on the same PC 4 months ago. In recent 4 months, my PC had some updates, like windows XP updates, Visual studio 2008 updates, flash update, adobe update, and iTunes update. After I noticed the problem, I had tried to uninstall the all updates except windows XP updates; and tried to uninstall Visual Studio 2008 completely; then re-install it again.
I am knew to CSS I never usually do it. I am creating a menu and I change the image of the button when the button is hovered over it. But when I go on the submenu the image reverts back to the original image. The code I have used is below.
I need to develop an easy and quickly to build menu structure based on xml. The menu needs to have a "Main" menu at top of the screen and a submenu at the left of the screen. Excactly like this: [URL] where i need to get started and wich control i should use?
I got requirement to create a accordion menu which will have different menus for different site collection. So, i created this Accordion which is in bind with site map file. But my Sitemap file has multi-level nodes, here my accordion is displaying only single level menus.
I am using asp.net2.0 , C#. I am binding menu control with sitemap to display menus and submenues. Which also restrict access and display of menu or submenu based on user's roles. I want to know Is it Possible to show/ Hide submenu based on sql tables with existing sitemap method