Last post Mar 20, 2019 04:04 AM by Ackerly Xu
Mar 19, 2019 12:52 PM|JW25|LINK
In all three browsers, I can see the data in its entirety (same for all three browsers) but Chrome does not render it. There doesn't appear to be any CSS properties hiding the gridview either since it would affect it in IE and Edge. Also, no errors are given
in the console within the browser tools.
Any general thoughts or ideas that could be causing this?
Mar 19, 2019 01:12 PM|PatriceSc|LINK
And you tried https://developers.google.com/web/tools/chrome-devtools/inspect-styles/ as well ? It should make quite easy to find out what happens and you can even disable
or change rules to see what happens and confirm your findings...
Mar 19, 2019 01:27 PM|JW25|LINK
Thanks for your response. Yes, unfortunately I have tried that, with no luck. I will note though that when I hover over elements in the source in the Chrome DevTools, I see it highlight blank spaces (where the data should be appearing). No amount of changing
elements has worked so far.
Mar 19, 2019 01:40 PM|PatriceSc|LINK
visibibility:hidden maybe ? It hides an element while preserving the space it would take. Or maybe something wrong with a color or a transparency value. At worst if you disable CSS rules one by one the element should end up being shown again (unless it is
really some kind of rendering bug ???)
IMO trying to guess will be longer anyway than inspecting your page using this kind of tool.
Mar 19, 2019 01:50 PM|JW25|LINK
I will search on the things you have mentioned. My guess is that it is something silly easy and I'm just not spotting it. I have now come across something that is missing in Chrome. I'll be honest, I'm not sure what a WebResource is as I come from an MVC
background. Could this be a potential culprit?
ctl00_Menu1_Data.iframeUrl = '/WebResource.axd?d=m2qqV2NmYhk7t6bS6blvXPL-0QL4Pc4_kKrPW8euSi3nlivAPYWRBKnl7bb0ehoKfxbsRrMGQsxJ2JUQcFA8xFPUJD2gxS_VLcRx2nX7tVQ1&t=636765283264470882';
The only other difference is Chrome encodes the space character in some instances
Mar 19, 2019 02:27 PM|PatriceSc|LINK
This is something rendered dynamically or what ? My first step when I don't see something is to use "view source" to see if the expected HTML markup is part of my page. If yes, then you really must have some CSS rule hiding this area...
Mar 19, 2019 02:41 PM|mgebhard|LINK
Turn off all Chrome extensions and retry.
Mar 19, 2019 03:42 PM|JW25|LINK
Hi, I do not have an Chrome extensions at this time
Mar 19, 2019 03:44 PM|JW25|LINK
That I am not sure of but I will explore everything and reply back later. I'm hoping it turns out to be just a simple property that I've overlooked a couple of times.
Mar 19, 2019 10:29 PM|jzero|LINK
I'm not sure what a WebResource is
There is nothing wrong with WebResource.axd, it is normal on webforms, here you can get a little more about it
I can see the data in its entirety (same for all three browsers) but Chrome does not render
Did you made an attempt without any CSS, from style sheet file or inline, just to be sure it is not a CSS issue?
In past I had a similar issue with Chrome, it was related the way Chrome caches page, even using a dynamic page content, page was not loaded as supposed.
Solution was Ctrl+Shif+R or Shift+F5 (Reload your current page, ignoring cached content)
Mar 20, 2019 04:04 AM|Ackerly Xu|LINK
What's your DataGridView like?
If it is complex, try to simplify it and restart chrome to see whether chrome shows the data so that you could find out what causes the problem.
Simple gridview should not cause this problem , it is hard to guess what your problem is without your code.