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 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
Hy, Troy
I'll send to you a zip file with the user control containing the webdatamenu and the Masterpage who contains it. You will see 3 more user controls , they have the same structure like the first one.
The file also contains the SQL scripts to the table and the stored procerures.
I hope it's helpful.
(Sorry, I have a pretty bat English jejeje)
Would it be possible for you to also send me a scipt of your database? Your master page code behind (*.cs)? The source files (*ascx) and code behind (*.cs) for menu controls? Are you using a data access tier to access the db? Include that as well. This will enable me to build the project and get it running. This way I can see precisely what's happening with the root menu item on postback.
Actually, it won't be necessary to send these additional files. I have a sample created which I can test.
I do have a few questions though, just for clarification. This information will help me for testing:
(1) Are you reporting that root menu items hide behind other page elements? And upon postback unhide, or vice versa?
(2) When you say that the Webdatamenu fails to show all its items after the first click event; is it that the experience is "better" or "worse" when the control is in a table?
(3) Which web browser(s) are you using? IE7, IE8, Firefox, etc..
Thank you Astucia. I will return to you shortly with an update.
Sorry Troy.
Let me see...
For me not hide, disappear, but may be yes, they hide because if I use the arrow keys it apparently works. They not hide behind other page elements, they hide from himself. I haven't any other elements.
It is erratic. Some times it's better, some times is worse.
IE8, Mozilla, Safari, Crome.
Note: Some thing may be relevant I omitted I'm using images 64x64
Hi,
I've been unable to recreate your experience from point #2 above. Perhaps it will be a good idea to work from your sample at this time. Please go ahead and send me your complete sample and I will investigate.
Thanks.
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.
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.
JA!
Now results... I can't reproduce the error in a separate project (Sh...t).
Then may be I'm doing some thing grong.