AJAX :: When Selecting An Item From Any Of The Dropdown Controls The Hover Menu Disappears
Aug 3, 2010when selecting an item from any of the dropdown controls the hover menu disappears:
[Code]....
when selecting an item from any of the dropdown controls the hover menu disappears:
[Code]....
I am using HoverMenuExtender on a label LinkButton .The Popup control is a Panel, that contains a DropDownList with some listitems inserted in it. Everything is going well, when i hover over linkButton that Panel and along with that that DropDownList appears.
Now problem is that when i hover over list items of DropDown , suddenly that Panel disappears before selecting any value.Panel disappears means that DropDownList also disappears. One rubbish solution is to increase the popup delay time to 3-4 seconds.
I have a Menu. When user clicks on the menu , I need to pass a command argument. How is that done ?
This is the code for
[code]....
Does anyone know how to do this so when I select something the 1st dropdown and the 2nd one becomes visible and populates list from a Select statement. I really need help on how to do in an aspx and not on the code behind page.
View 12 RepliesI have dropdown menu item ("pin this site") that i need to hide it or hide menu item itself ("My Network").
When I saw viewsource on page, I got below code.
<a class="zz1_TopNavigationMenu_1 ms-topnav zz1_TopNavigationMenu_3
ms-topnavselected zz1_TopNavigationMenu_9" href="http://mynetworkqa.spe.org"
style="border-style:none;font-size:1em;">My Network</a>
<a class="zz1_TopNavigationMenu_1 ms-topNavFlyOuts zz1_TopNavigationMenu_6"
href="javascript:__doPostBack(,
'ctl00$PlaceHolderTopNavBar$PlaceHolderHorizontalNav$topSiteMap''Pin')"
style="border-style:none;font-size:1em;">Pin this site</a>
How can I hide menu item?
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 RepliesI was wondering if ther is a Way to select a table name from a DropDown Menu and then dispaly the data in say a GridView?
For Example;
In PHP you can post a Value to a Veriable and Put that Veriable into a SQL Statement.
"SELECT * FROM '.$VAR.'" would be the statment used to return the data.
I was wondering if there was a similar way to dot his. Currently I have a different page for each table with other dropdown menus to select other options, or would continuing to do it like i have just stated be better?
i have used one drop down list box...in that ....whn i m running web applicaiton i need to stick the value which i m selected for the movement upto i select the next choice. it is always going to the first value always. i have 40 items in my drop down. whn i select the 5TH item after selecting 5th item it going to first item.
View 1 Replieswhen i am selecting an item in dropdown list datasource is bind and after another selection it is bind again .but i want it bind only once.
View 4 RepliesI 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 RepliesCan 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]....
i would like creating ajax hover menu with asp.net application in profeesional way
View 1 Repliesi 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]....
[Code]....
[Code]....
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 Replieswhen 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;}
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 RepliesSo I got 2 updatepanels on my page. In one there is a Timer which updates for example a label. In the other one there is a dropdownextender. Everytime the timer ticks while the dropdown menu is displayed the menu disapears. I attached the sample code below....any insights on this? And yes, the dropdown and the label need to be in two seperate updatepanels....
[Code]....
I have a DropDownList on an ASP.NET page that gets populated by a SQL database.
<asp:DropDownList ID="ddlName" runat="server"></asp:DropDownList>
The population is down in the code behind file:
ddlName.DataSource = SqlDataSource1;
ddlName.DataValueField = (this.ddlName.SelectedValue);
ddlName.DataTextField = "ccName";
ddlName.DataBind();
I was wondering if it was possible to change the background or text color of an item in the list based on it's value? I just noticed that the example below works when the page first loads but on postback the text color disappears even though that is where the code is. Is there something I am missing?
protected override void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ddlName.DataSource = SqlDataSource5;
ddlName.DataValueField = (this.ddlName.SelectedValue);
ddlName.DataTextField = "ccName";
ddlName.DataBind();
foreach (ListItem item in ddlName.Items)
{
if (item.Value == "Item 1")
{
item.Attributes.Add("style", "color:red");
}
if (item.Value == "Item 2")
{
item.Attributes.Add("style", "color:red");
}
}
}
}
How to center the menuitems and highlight the selected menuitem in menu control in asp.net?
<asp:Menu ID="maspageMenu" runat="server" BackColor="#2D2D30" Width="100%" DynamicHorizontalOffset="2" Font-Names="Verdana" Font-Size="1.4em" Font-Strikeout="True" Font-Underline="True" ForeColor="#009933" Orientation="Horizontal" StaticSubMenuIndent="10px" BorderStyle="Groove">
<DynamicHoverStyle BackColor="#18624F" ForeColor="White" />
<DynamicMenuItemStyle BackColor="White" HorizontalPadding="5px" VerticalPadding="2px" />
<DynamicMenuStyle BackColor="White" BorderStyle="Double" />
[CODE]...
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?
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?
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.
Is it possible to add dropdown for selecting month and year within ajax calender.
View 5 Repliesin my applicaion dropdown having country,state ,district values and one autocomplete textbox , if i select country in the dropdown only country names should be filtering in autocomplete textbox
View 6 Replies