Version: 2015 v1
Framework: 4.5
Visual Studio 2012
OS: Windows 7
Test Server: Windows 2012R2
IIS: 8.5
Adding Web Data Menu to the page in Visual Studio does not display correctly. Tried importing and applying different style sets and it still looks like just text.
When running the application from within VS, it looks perfect with the menu bar displaying as expected and all menu items.
After deploying to the web server, the data menu displays as a blank bar. No menu items.
I have checked that various folders and files were deployed to the server and I don't see anything but I'm sure I must be missing something.
Hi Monika,
It is hard to say from the distance what cause the problem, but the obviously some styles are not applied to the WebDataMenu.
1) If you are adding theme in the web.config through : <infragistics.web styleSetName="ThemeName" styleSetPath="ThemePath"/>, please check ThemeName and ThemePath whether they are correct.
2) If you including the css files on the page, you can also check their paths. Look for some 404 errors in the browser console - they can guide you to the source of the problem.
If this does not help, please let me know:
- how you set the styles to the local project (when running on VS)?
- how you set the styles to the hosted project (when running on IIS)?
Hi Petko .. thanks for the quick response. Initially I did not have a style set for the menu control, only after seeing it missing when running on the test server that's when I set the style. I did not add the theme in the web.config, I just selected it from the properties for the menu control. So I end up with:
<ig:WebDataMenu ID="tb" runat="server" Width="100%" StyleSetName="Windows7">
Here is something else I discovered. We are currently on Internet Explorer 10 where the menus do not display. But when I run my app on IE 11, Firefox, Opera and Chrome the menus display perfectly. So it is not missing styles or scripts it is something in IE10. I do not receive any errors in IE10 when displaying the page.
I believe the IT department will be updating everyone to IE 11 soon, so there's that as a last resort!
Hi qwerty9988,
This sounds uncharacteristic! If you like you can attach your project or working example of it, so I can try to reproduce the issue.
In IE 10 (and even in 11) unselecting 'Enable third-party browser Extensions' causes the web data menu to not display.
In the version of IE 11 that I was using, this was selected so everything worked fine.
OK .. I take that back .. apparently when ever I change a setting in the Advanced Tools in IE the menus display temporarily. But then when I pop it open in another browser window they are gone again. This is just bizarre behavior.
My application displays correctly in Opera, Chrome and Firefox, just not in IE.
So I tried out the webdatamenu samples on the Infragistics site and they did display correctly in all browsers, so I noticed that the css files in the ig_res directory for my application were dated 11/2014 and the files in the samples were dated 3/2013. So I copied all of the css files from the samples into my web site and everything is working fine.
Thanks for pointing me in that direction, I hadn't thought of checking the samples.
I've disabled my IE settings 'Enable third-party browser Extensions', but I'm still able to see our controls work properly. Try it on our web site: http://es.infragistics.com/samples/aspnet/data-menu/overview
Also, you can open your local project in IE 10/11 to see whether WebDataMenu will display. If it does, then the issue is not related to this browser option.
Have you tried to open project with other browsers: Chrome, FF, Opera, to isolate the browser relation?