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>
Hi Astucia,
if you are not doing anything in the code behind, this looks like a bug to me caused because of putting menu into table container. Could you try upgrading to latest service release 10.3.20103.2088 and if the issue still persists contact developer support to open a support ticket for you. Also try to put EnableScrolling = false and see if the issue is present?
Thanks,
Lubomir
My WebDataMenu was put into one of the WebTab tabs. On tab change, WebDataMenu items disappeared, but setting EnableScrolling="false" fixed it!!!
Thank you!
My name is Troy and I am a Developer Support Engineer. I would like to help you with this case. Can you send me as much information as possible to help me reproduce the steps you did? I would like to test further to determine if this is indeed a bug. If you can send me a sample, that would be fantastic.
Sincerely,TroyDeveloper Support Engineer