Is there a property i have to set to make all the parent items show up in one line on a horizontal datamenu? I am trying to put four options along the top of a webpage and it is displaying 3 of the four and omiting the fourth. As far as I can tell it is being pushed to a second line and it shouldn't be becasue there is more than enough room left on the page for it to display correctly.
Thanks,
- Mike
The menu i am using is currently running off an xml doc and if i include a blank entry after all the items i want to display then it makes it so they all show up but the alignment gets thrown off.
Hi there obrienm,
Could you please try applying the latest service release for the controls, as we have had such an issue with the menu in the past but it was fixed quite some time ago! If the issue persists after applying the service release please let us know!
Thank you for using the Infragistics forums!
Hello,
I've been out of office so I'm a little bit late with my answer.
Well I checked your sample and it shows all the menu items if at least the default style is present in the ig_res folder. Without the default style the menu is shown incompletely (the last item is missing).
This seems somewhat strange to me since in my application I use styling but the root menu is missing the last item. The only difference I can see: In my application I build the menu in code behind. I'll check this with your sample the next few days.
Hello Bernhardus,
Thank you for the feedback. After your tests if you are able to reproduce this it would be great if you have a chance to attach here your sample.
Looking forward to hear from you.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
While fiddling around with the menu today I found that if I took out the itembound event on the server side that the menu would display as expected but the dropdown menus wouldn't show up on mouse over. When I added the itembound event to set the templateID's of each item depending on level in the xml file then I needed to "Filler" item to cause all the expected buttons to appear.
This is very bizarre. When I publish to the server and browse to my site on the live version the menu performs as expected. Which in this case means it is displaying all the items including the filler. Using the same exact xml doc on my development machine I get the filler object pushed off the menu. very odd.
Hello Mike,
In our samples browser we have samples with xml data source:
http://samples.infragistics.com/aspnet/Samples/WebDataMenu/Data/Data-Binding/Default.aspx?cn=data-menu&sid=0c6a8763-de13-4e08-9e03-20e5449752d5
you can review it.
Also if you can provide your sample here it will be easier for us to investigate it further.
Thank you.
I've found that if I add a css class to the "a href" tag on line 25 of the default.aspx in the sample I posted then the menu acts as it should with the itemBound event active. The class I applied only changed the font-family to Verdana, the font-size to 12px and text decoration to none.
Don't know why it worked but it did.
I've put together a test site that goes through the same motions as the one that is giving me the trouble. I've comment a section in the code behind file out to show that the menu works fine but doesn't show images when the itembound event is not present. as soon as you uncomment that function it causes the images to load and the menu to function properly but the filler menu item will be missing.
Not exactly sure how to upload the zipped file so if this doesn't work e-mailing it to someone might be easier.