Web Forms :: Display Static Sub Menu Control Instead Of Hover
Aug 7, 2013
ASP.NET Menu Control displays the submenu when hover on root menu.
Is is possible to display submenu permanently without using hover or click on root menu?? if yes then how?
View 1 Replies
Similar Messages:
Feb 5, 2010
i have a menu control which i get text from a sitemap.
But i want to use hover images and static images? can this be achieved?
View 2 Replies
Aug 22, 2010
I've encountered was appears to be a strange bug with the menu control, and alas, I am unable to find much useful information on it (which leads me to believe I have something installed or confingured incorrectly). Here the problem:
When declaring a menu control with a staticHoverStyle, for example:
<asp:Menu
ID="navMenu"
DataSourceID="srcSiteMap" [code]....
Has no effect on the behavior of the control once it's rendered, neither in Firefox nor IE.In fact, using the source code at
http://msdn.microsoft.com/en-us/library/ms366731.aspx with no modifications also results in the hoverstyle not working.
This problem seems to be "fixed" if you specify the css attribute declaratively, for example, StaticMenuItemStyle-BackColor="Yellow".
Alternatively, if you specify RenderingMode="table" then the hoverstyle seems to work. It's only when you're using a cssclass with a list that things seem to mess up.
Finally, I notice that in the rendered html, the control embeds some styles between /* <![CDATA[ */ and /* ]]> */ comments that affects the final appearance of the menu control, sometimes overwriting a cssclass you specified (ex: the margin for dynamic menus can only be controlled with the HorizontalOffset property, and not by css). This is undesirable, but I don't see anything that seems to overwrite the behavior of hover elements. Actually, the .hoveritem class doesn't appear anywhere in the markup at all, but when you specify the StaticMenuItemStyle-BackColor property, then the value is rendered correctly in this block of styles.
View 3 Replies
Aug 24, 2010
iam placing the textbox of slider control in one panel and this panel iam showing when mouse goes to a linkbutton by using hover .the problem is when iam using slider extender with hover iam getting the following error for the slider control ---the errro is set valid value for the height and widht attributes in the slider css classes..how to solve this problem
View 3 Replies
Oct 4, 2010
I can highlight a menu-itm when the mouse is hovering over it. How do I highlight a menu item when a sub-menu item is hovered? I have a 4 level menu, 2 static accross the top, one drop-down, and one pop-out from the drop-downs.
While selecting level-4 items, it is a little confusing as to which level-3 item is being popped-out because I have alot of level 3 and level 4 items. I want the appropriate level 3 item highlighted while hovering over its level 4 popout.
View 3 Replies
Mar 7, 2010
I am trying to develop menu usings the hover menu extender. I have nested menus - in other words, if some items in the drop down menu (hover) have menu items that are displayed next to it (using another hover menu extender control). I am trying to keep the original menu displayed when the sub menu is displayed, but with no luck. I have tried using animation, but that doesn't seem to work.
View 9 Replies
Jul 28, 2010
I know that the code depicted below will not work but I am including it to convey the idea of what I wish to accomplish. I want to use a different SiteMap to construct the menu on the displayed page for each of three different classes of service (COS).
I set a session variable named "COS" at the login and want to test its value prior to rendering each page. I want to display a menu based upon the appropriate COS. Here is my first stab at it but I know that I cannot include <asp:...> controls within the "case" statements. Can anyone suggest methods of doing this? I know C# and can use that but I do not know how to select the proper sitemap within the <menu> control. I am also using a CSS in my production version.
[Code]....
View 2 Replies
May 4, 2010
I have a gridview with a popup menu that successfully runs against Framework 3.5.
In 4.0, the popup no longer seems to be tied to the row that was mouse-overed. the popup still appears, but near the top of the gridview (not near the row) regardlesss of the row that mouse-overed and clicking "Edit" will only edit the top (first) row.
I even tried to simplify and use this example [URL] as a test, the same results occur, run this against 3.5, it works fine, run against 4.0, it breaks. I think there's something wrong with the C# code
[Code]....
there's a better solution with the ClientIDRowSuffix?
View 4 Replies
Mar 23, 2010
I'm trying to create a gridview with a hover menu:
[Code]....
This works just fine, butttttttttt, I want the hover menu to have an extensive description of the record, namelly ID, message, links to uploaded files, print record button etc.
This doesen't work with the hover menu because when the mouse leaves the targetcontrolid the panel disapears.
So my question is:
Is there a way keep the panel hovering until you change to another record?
View 3 Replies
Jun 28, 2010
i m want to bind asp.net menu control from database and some of static value both, i know how to bind menu from DB and also know how to static bind the data in Menu, but i want two add two static record in menu control and after that i want to bind data from DB in menu control, and than again three static record bind in menu..... i think a lot about this and finally i thought to add my static data in dataset at particular positons, but problem is that i dont know how to bind static data in dataset at particular 1st 2nd and 4th,5th,6th pos.
View 1 Replies
Sep 18, 2010
I am using the following code to create a static menu, but using images instead of text..
[Code]....
how to perform an image swap on hover and also an image swap on click so that it is clear which menu item has been selected?
View 3 Replies
Apr 24, 2015
I have placed an aspx menu control on my master page with orientation as Horizontal. Below is HTML markup.
HTML Code:
<asp:Menu ID="mnuMedChem" runat="server" Orientation="Horizontal" Width="100%" OnMenuItemClick="mnuMedChem_MenuItemClick">
<DynamicHoverStyle CssClass="DynamicHover" />
<DynamicMenuItemStyle CssClass="DynamicMenuItem" />
[Code]....
I have tried populating the menus from my database by using the
Code:
mnuMedChem.Items.Add
and
Code:
mnuMedChem.FindControl(value).ChildItems.Add
The menu items and the childs are populating correctly but then the menu is not being displayed on the menu control.
View 4 Replies
Mar 21, 2011
I wanted to replicate this on my website. I already hava a gridview with data from my database, and now i wnated to add the hover menu to each row of the gridview. How can i accomplish this?
View 3 Replies
May 7, 2010
Can any one help me to implent ajax hover menu in my grid i did the way which they mentioned in http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HoverMenu/HoverMenu.aspx
but i am not able to find here is my grid view
[Code]....
View 3 Replies
Oct 16, 2010
i would like creating ajax hover menu with asp.net application in profeesional way
View 1 Replies
Jan 20, 2010
i am displaying drop down in modal pop up ,when i validate ,i want to show error through hovermenu ..error is
Line: 4044
Error: Sys.InvalidOperationException: Two components with the same id 'hm1' can't be added to the application.
if i use outside (not in modal pop up ) hover menu is working properly
[Code]....
View 2 Replies
May 17, 2010
[Code]....
[Code]....
View 3 Replies
Oct 17, 2012
I want to show a div on the hover of a hyperlink and suppose i have five hyperlinks and i have to show different divs for each hyperlink.
View 1 Replies
Feb 4, 2010
when I hover over a menu option it's contents are shown above instead of the Bottom off. Even though the hover control says bottom. In my browser and others it works fine, I use IE8. But some browsers it's goes wrong.
<cc1:HoverMenuExtender runat="Server"
TargetControlID="pnlNewCustomers"
PopupControlID="pnlNewCustomerOptions"
HoverCssClass="popupHover"
PopupPosition="Bottom"
OffsetX="10"
OffsetY="-10"
PopDelay="50"
/>
css
.popupHover
{background-image:url(images/header-opened.png);
background-repeat:repeat-x;background-position:left
bottom;
background-color:#F5F7F8;}
View 1 Replies
Jun 25, 2010
I have a website that uses a master page that contains the navigation for the site.The navigation buttons are images.Some of the navigation button images have hover menus tied to them.Those hover menus contain several image buttons, so as to create a drop down menu affect.The problem I have is when any of the pages are loading all of my hover menu image buttons flash on the left side of the screen for a second or less as the page is being rendered.Can this be stopped?
View 6 Replies
Feb 24, 2010
How can we display the menu alone in the menu control and submenu with the breadcrumb like style.
View 1 Replies
Aug 3, 2010
when selecting an item from any of the dropdown controls the hover menu disappears:
[Code]....
View 1 Replies
Feb 18, 2010
Using an ASP.NET 3.5 menu control set to horizontal, is there a way to specify that only a certain node of the menu displays? For example, let's say I have a vertical menu on the left side of the master page that is tied to a sitemap and displays these nodes. The submenus would be dynamic and only display when the root node is hovered.
Main Page
Second Page
Sub Menu 1
Page 1
Page 2
Page 3
Sub Menu 2
Page 1
Page 2
Page 3
A certain (powerful) group of my users will always be going straight to the pages in Sub Menu 1 and pretty much never touching the other pages. They would like a sub-master page that is based on the parent master page so that the primary vertical menu and the sitemappath are all still there but the sub-master page will contain a horizontal menu control that only displays the the Sub Menu 1 node, like this:
Sub Menu 1 Page 1 Page 2 Page 3
Is there a way to set up the menu control to start displaying at a certain node level so the parent nodes and sibling nodes aren't displayed or would this require maintaining a separate sitemap file? I hope this makes sense.
View 1 Replies
Jul 24, 2010
We have an asp.net application that uses a menu from the master page. It will not work with Windows 7. only the current node and the logout button display (logoout button will not work). Is there a fix for this? the control works properly on XP and Vista.
View 2 Replies
Mar 21, 2010
My menu control is in horizotal style and i want to show it's dynamic item also in horizontal style too, by default they are vertical. Plus the arrow(Static pop-out image) to be shown vertical rather horizotal which is by default. How to do that ?
View 3 Replies