I have an application that pulls jobs into a ultrawebgrid. The grid works fine on my dev machine and my desktop as well as most clients computers. Everyone is accessing it via Internet Explorer. What happens on the computers that don't work is no data is displayed in the grid. Even though i can go to the same site on my laptop and get the data to show no problem. This has to be some setting causing this. Firefox on the other hand, works fine and shows the data correctly even on the computers that IE doesn't show the data. Yet another point toward it being a setting issue. Anyone have any ideas what could be causing this?
PS the code is grabbing the data because I also have a row count displaying in a status bar under the grid and that populates with the correct number of rows even though no rows are displayed.
Hello Ian,Are you using Load On Demad? If yes it could be javascript errors that prevent grid to shows its data. I would suggest debug this on the computers that have this issue with IE Developer tools. You should be able to fix this if you set Browser = Auto (property of WebGrid) this will allow the grid to choose how to render itself in such cases. More information about this you can refer here
Hope this helps you.
Only problem with not using loadondemand xml is our datasets are quite large and would take quite awhile to come back. I found one work around on the computer having the problem (although i'm not sure if it's a viable option). Under Internet Explorer's Tools option -> Internet Options -> Security Tab -> Hit the "Custom Level" button -> Under the "ActiveX and Plug-Ins" Section -> change "Initialize and script ActiveX controls not marked as safe for scripting" to enable. This makes the grid work fine however you get the nice this-option-is-unsafe message from IE when you turn this on. Even if I select the "prompt" option for this the grid doesn't work.
So the end result was adding our website to the "Trusted Sites" and changed the security options for trusted sites to allow the Initialize and script ActiveX controls not marked as safe for scripting.
Hi Ian,
Thanks for your follow up. This will be useful for others experiencing a similar issue. I am not sure why this happens but it's nice to hear that you successfully work around it.
Thanks.