I have a WebDataMenu that is initially loaded on Page Load, but not for postbacks. The problem is that when I hover over a parent menu and the submenu items are displayed, moving the mouse down to select a submenu item causes them to disappear. Generally, I get one or two parent menus that will work properly, but the rest will hide the submenu list when I try to select something. It isn't always the same one, that part seems to be random. only by clicking repeatedly on the parent menu will the submenu finally stay put so something can be slected. I am using VS2008SP2, Infragistics 3.5 10.3.20103.2134. I cannot upgrade controls at this time and must make this work before 10/1 launch date. Any suggestions?
Hello Dbishop9,
Can you please provide me the markup and codebehind for the WebDataMenu?
These are stripped down to the relevant code. I have to build these dynamically from the dataset due to requirements, I cannot use an SQLAdapter or OLEDBAdapter.
<%@ Master Language="VB" EnableViewState="true" CodeFile="Master.master.vb" Inherits="Master" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <title>AOD Data Express</title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true"> </asp:ScriptManager>
</form></body> <asp:Panel ID="pnlTopMenu" runat="server" BorderStyle="Solid" BorderWidth="1" Width="100%" > <asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="block" UpdateMode="Conditional"> <ContentTemplate> <asp:Table ID="tblUser" runat="server" Font-Size="small" Width="100%"> <asp:TableHeaderRow> <asp:TableHeaderCell HorizontalAlign="Center" Width="125px" Wrap="false"> <asp:Label ID="lblUser" runat="server" Font-Size="small" Text="" ToolTip="UserID" Width="135px" ></asp:Label> </asp:TableHeaderCell> <asp:TableHeaderCell HorizontalAlign="Center" Width="75px" Wrap="false" Visible="false"> <asp:Label ID="lblLocation" runat="server" Font-Size="small" Text="" ToolTip="User Location" Width="75px"></asp:Label> </asp:TableHeaderCell> <asp:TableCell Width="100%" Style="background-image: url(ig_res/claymation/images/igdm_controlbackground.png);"> <ig:WebDataMenu ID="igMenu" runat="server" EnableScrolling="false" DataMember="TITLE" EnableTheming="true" MaxDataBindDepth="1" StyleSetPath="~/ig_res/" StyleSetName="Claymation" Height="25px"> <GroupSettings Orientation="Horizontal" /> <DataBindings> <ig:DataMenuItemBinding DataMember="TITLE" DefaultText=" " TextField="TITLE" ToolTipField="TITLE" /> </DataBindings> </ig:WebDataMenu> </asp:TableCell> </asp:TableHeaderRow> </asp:Table> </ContentTemplate> </asp:UpdatePanel> </asp:Panel> <asp:Table ID="tblMain" runat="server" Width="100%"> <asp:TableRow> <asp:TableCell Width="25px"> </asp:TableCell> <asp:TableCell VerticalAlign="top"> <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder> </asp:TableCell> </asp:TableRow></asp:Table>
Imports BaseMethodsImports System.DataImports System.Data.SqlClientImports Infragistics.Web.UI.NavigationControls
Partial Class Master Inherits System.Web.UI.MasterPage
End Class
#Region "Page Methods"
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Try LoadUserInfo() If Not IsPostBack Then Response.Cache.SetNoServerCaching() Response.Cache.SetCacheability(HttpCacheability.NoCache) ClearCache() LoadMenu() End If Catch ex As Exception
End Try End Sub
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender Try igTree.Width = Unit.Pixel(180) SetAutoHeight() pnlHomeButton.Width = igTree.Width Catch ex As Exception
End Try
End Sub
#End Region
#Region "Local Methods"
Private Sub LoadMenu() Dim Profile() As String = GetUserProfile(GetUser(Page.User.Identity.Name)) Dim cnt As Int64 = 0 Dim cnt1 As Int64 = 0 Dim cNode As DataTreeNode = Nothing Dim ds As DataSet = Nothing Dim choice As String = String.Empty
Try choice = "usermenulevel2" ds = GetDataSet(choice, Profile) 'build menu: Set Parent Menus, then add child items to appropriate parent If IsDatasetValid(ds) Then SetMenuParent(Profile) SetMenuChild(Profile) End If
Catch ex As Exception
Private Sub LoadUserInfo() Try 'Loads the Users Name and Location to lblUser.Text & lblLocation.Text Catch ex As Exception
I followed the steps you suggested and was unable to reproduce the behavior you're describing.
Submenu items are displaying fine when I move the mouse down to them. I have tested it couple of times.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Please let me know if I can provide any further assistance.
Attached is a sample with only the basic code. NOTE: Due to your site upload limitation of 1024k, I have removed the Infragistics dll's to meet the limitation. Please add the following libraries to the bin folder:
Infragistics35.Web.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.Misc.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.Shared.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.UltraWebListbar.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.UltraWebNavigator.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.UltraWebTab.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.UltraWebToolbar.v10.3, Version=10.3.20103.2134Infragistics35.WebUI.WebNavBar.v10.3, Version=10.3.20103.2134
I have stripped out all but the essential code, and this still occurs, so I can't se how it could be a coding issue. If you hover over parent 1 and down to the children, then parent 2, then reports or help, 1 or more of these will display the referenced issue when trying to cursor down over the child item list. When that occurs you have to click on that parent menu repeatedly to get it to stop, but when you cursor over to another menu parent, one of the others will do it. If necessary, on reply, I can add a quick video capture of what is happening.
Hello DbiShop9,
Thank you for the sample.
I have tested it, but I am not able to see the behavior you were describing. I may be missing something
Can you please capture this issue in a video?
Please let me know if you have any further questions regarding this matter.
Sorry Our version is ASP.NET_12.1.20121.2072. WE have the same problem. Submenu disappears before we select. I went through the video (avi) posted by the other user. we are facing exactly the same issue.
Please let us know your response asap.
Thanks,
Jamuna.
Hi Support,
We are using Infragistics version ASP.NET_12.1.20121.2137. But still facing the exact problem in many browsers like Firefox, IE, etc..
Please confirm.
Thanks for your help. I seemed to have found a workaround for the issue by removing the height property of the menu.
Hello Paul,
This issue has been addressed in service release versions ASP.NET_12.2.20122.2031, ASP.NET_11.2.20112.2225, ASP.NET_12.1.20121.2137. As we no longer provide service releases for 11.1. I suggest you to upgrade to 11.2 or later.
Hope this helps.
I'm having the same issue as described above, has there been a fix or workaround issued? Version 11.1.
Thanks