Hello.
I'm using a WebDataMenu (Infragistics4.Web.v10.3, Version=10.3.20103.1013) binding it from a WebHierarchicalDataSource whit 3 bindingssources
When I run my project some times the root menu hide some items and clicking in an item and postback the page, the hidden items unhide or viseversa. (these only in a horizontal orientation and EnableScrolling = "true" propperty)
Aparently the items hide for levels example:
In the root bind I have 6 items and the other levels in the first Item.
At the start the webdatamenu shows all items, after the first click only shows 3 items, the next click shows only 1, the next click, show all items again. (Not always is like these; and it is stronger when the control is in a table or cell with position = right)
<ig:WebHierarchicalDataSource ID="MenuWebHierarchicalDataSource" runat="server" style="margin-bottom: 0px"> <DataViews> <ig:DataView ID="SelectLstMenuXIDMenuRootSqlDataSource_DefaultView" DataMember="DefaultView" DataSourceID="SelectLstMenuXIDMenuRootSqlDataSource" /> <ig:DataView ID="SelectLstMenuXIDMenuSqlDataSource_DefaultView" DataMember="DefaultView" DataSourceID="SelectLstMenuXIDMenuSqlDataSource" /> <ig:DataView ID="SelectLstMenuXIDMenuChildrenSqlDataSource_DefaultView" DataMember="DefaultView" DataSourceID="SelectLstMenuXIDMenuChildrenSqlDataSource" /> </DataViews> <DataRelations> <ig:DataRelation ChildColumns="IDElementoPadre" ChildDataViewID="SelectLstMenuXIDMenuSqlDataSource_DefaultView" ParentColumns="IDElementoDeMenu" ParentDataViewID="SelectLstMenuXIDMenuRootSqlDataSource_DefaultView" /> <ig:DataRelation ChildColumns="IDElementoPadre" ChildDataViewID="SelectLstMenuXIDMenuChildrenSqlDataSource_DefaultView" ParentColumns="IDElementoDeMenu" ParentDataViewID="SelectLstMenuXIDMenuSqlDataSource_DefaultView" /> <ig:DataRelation ChildColumns="IDElementoPadre" ChildDataViewID="SelectLstMenuXIDMenuChildrenSqlDataSource_DefaultView" ParentColumns="IDElementoDeMenu" ParentDataViewID="SelectLstMenuXIDMenuChildrenSqlDataSource_DefaultView" /> </DataRelations></ig:WebHierarchicalDataSource><asp:SqlDataSource ID="SelectLstMenuXIDMenuRootSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>" SelectCommand="SelectLstMenuXIDMenuRoot" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="IDMenu" Type="Int32" DefaultValue="1" /> <asp:SessionParameter DefaultValue="" Name="IDCatalogoNivelDeAcceso" SessionField="IDCatalogoNivelDeAcceso" Type="Int32" /> </SelectParameters></asp:SqlDataSource><asp:SqlDataSource ID="SelectLstMenuXIDMenuSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>" SelectCommand="SelectLstMenuXIDMenu" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="IDMenu" Type="Int32" DefaultValue="1" /> <asp:SessionParameter DefaultValue="" Name="IDCatalogoNivelDeAcceso" SessionField="IDCatalogoNivelDeAcceso" Type="Int32" /> </SelectParameters></asp:SqlDataSource><asp:SqlDataSource ID="SelectLstMenuXIDMenuChildrenSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>" SelectCommand="SelectLstMenuXIDMenu" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="IDMenu" Type="Int32" DefaultValue="1" /> <asp:SessionParameter DefaultValue="" Name="IDCatalogoNivelDeAcceso" SessionField="IDCatalogoNivelDeAcceso" Type="Int32" /> </SelectParameters></asp:SqlDataSource><ig:WebDataMenu ID="MainWebDataMenu" runat="server" DataSourceID="MenuWebHierarchicalDataSource" EnableScrolling="True" onitembound="MainWebDataMenu_ItemBound"> <GroupSettings AnimationDuration="300" Orientation="Horizontal" /> <DataBindings> <ig:DataMenuItemBinding DataMember="SelectLstMenuXIDMenuRootSqlDataSource_DefaultView" ImageUrlField="sUrlImagen" KeyField="IDElementoDeMenu" NavigateUrlFields="sLink" TextField="sNombre" ToolTipField="sNombre" ValueField="bMostrarTitulo" /> <ig:DataMenuItemBinding DataMember="SelectLstMenuXIDMenuSqlDataSource_DefaultView" ImageUrlField="sUrlImagen" KeyField="IDElementoDeMenu" NavigateUrlFields="sLink" TextField="sNombre" ToolTipField="sNombre" ValueField="bMostrarTitulo" /> <ig:DataMenuItemBinding DataMember="SelectLstMenuXIDMenuChildrenSqlDataSource_DefaultView" ImageUrlField="sUrlImagen" KeyField="IDElementoDeMenu" NavigateUrlFields="sLink" TextField="sNombre" ToolTipField="sNombre" ValueField="bMostrarTitulo" /> </DataBindings></ig:WebDataMenu>
My WebDataMenu was put into one of the WebTab tabs. On tab change, WebDataMenu items disappeared, but setting EnableScrolling="false" fixed it!!!
Thank you!
Sorry, I leave the problem behind. I could not reproduce the error in a separate project. For me, is no longer needed the assistance.Thank you very much for the help.
Hello,
I just wanted to check and see if there is any further assistance you needed on this matter.
Sincerely,TroyDeveloper Support Engineer
Below is a link to a forum thread that you can review. It discusses a work around to the IE7 z-index bug.
http://community.infragistics.com/forums/p/52731/276628.aspx#276628
I hope this helps!
Regarding the development issue (#67726) pertaining to the webDataMenu control items hiding behind other page elements when using IE7; this is a known issue specific to IE7 and is not a development issue pertaining to the WebDataMenu control. IE7 doesn't recognize the z-index properly. There isn't anything that can be done in the control to correct for this IE7 bug.
I am seeking a work around and will return to you by Thursday if a workaround can be provided.