For instance, when comparing this one page in the two versions, every single row in every single involved file is the same (save a few removed commented rows). Furthermore, both sites' projects use the same versions of Telerik dll:s. And yet, in one of these sites, the title bar (including the border all around the window) does not show up.
I have read this guide: http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-missing-borders-titlebar-and-commands.html and condluded the following:
- This only happens in Chrome (well, on occasion it has happened in IE10 too, but I haven't been able to replicate that error).
- EnableEmbeddedSkins is set to True
- I get no error 500
How can I best start to debug this?
(As a bonus piece of information: RadWindows opened from within other RadWindows do not have this problem)
8 Answers, 1 is accepted
This is a really odd behavior that you are experiencing. Can you check whether the background images that create the borders are received property in the browser? It is possible that, for some reason, Chrome does not properly parse these requests. You can check for them in the dev toolbar and request the file (see the short video that is attached here).
The other things I can suggest you can try are:
- recycle IIS, clear ASP and browser caches. It is possible that some cache is returning invalid data.
- a different skin. It may be possible that a concrete skin has this issue, and others do not. You can set a global skin in the web.config for your RadWindows (see the last section here).
- using the RadStyleSheetManager: http://www.telerik.com/help/aspnet-ajax/stylesheetmanager.html.
- using its Skins CDN: http://www.telerik.com/help/aspnet-ajax/stylesheetmanager-cdn-support.html.
- using the Lightweight RenderMode RadWindow offers, because it relies on less images sprites: http://www.telerik.com/help/aspnet-ajax/window-render-modes.html.
- looking for differences in the deployment scenario, especially if the applications are hosted on different servers. Proxies, firewalls or other software may be tampering with requests and/or URLs.
Regards,
Marin Bratanov
Telerik
Thank you.
Hello Richard,
I am sorry to say that I have no further information on this. It is not an issue I have ever seen, or have a logical explanation for.
What I can offer at this point, apart from my original ideas is to try toggling some properties like EnableShadow because it causes the control to use different sprites in Classic RnederMode, so if the issue is with the images alone - loading the different sprites may alleviate it. You may lose the shadow but that would be the lesser evil.
Also, I have strong hopes for the LightWeight render mode because it uses virtually no images (only the command buttons and the icon are images) so the issue should not manifest if it is related to images.
Regards,
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
What I've tried:
Recycle IIS (empty .net and browser cache): Emptying browser cache seems to help for a short time.
Light Weight Render Mode (applied via web.config): No change in behavior
Using RadStyleSheetManager: Always have.....
Using Skins CDN: I'll try this but this site is rather small and caters to an intranet audience.
Different Skin (applied via web.config): Switched from Black to Windows7. Unsure if it helped to gain an relief for some users. I stopped seeing the problem for a few days. I'll open a ticket, I guess.
Hi Richard,
This issue is really odd and I am not aware of reasons for such behavior. My best guess at this point is some incorrect caching that could, potentially, be caused by some proxy, or requests being blocked by a firewall or other similar software (on the server, or on the user machine).
What makes it even stranger is that this manifests with Lightweight render mode - it does not use so many background images, so a missing titlebar would mean missing stylesheets, which indicates some issue with the browser cache or with the webresource urls (for the former there isn't much we can do, for the latter you can see if there are broken requests in the dev toolbar and switch to the CDN if the ideas from this article do not help).
On CDN + intranet - it is possible to create a custom provider on an appropriate server in the intranet as described here. The article treats scripts CDN but the approach for the skins CDN is identical.
If there are additional details you can provide in a ticket - you can open one, but with the same set of information I doubt we will be able to provide a much different answer.
Regards,
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
This site uses a master template. I:
1. Came across the problem in Firefox
2. Without leaving the site, edited the master ASPX file and deleted <telerik:RadFormDecorator ... />
3. Refreshed the page and all worked as expected.
Hi Richard,
It would be rather odd that this would be the fix or cause for this behavior. Nevertheless, I hope it will work for you.
Perhaps RadFormDecorator has applied some styles to the RadWindow elements (its title is a h6 and its commants are button elements) even though this should not happen. So, another workarounds could be:
- setting ControlsToSkip="H4H5H6, Buttons" so those elements are avoided
- using a decoration zone under the form - a simple div with an id will suffice. RadWindow will render its popup element outside of this zone so the styles may not be applied to it.
Those are still shots in the dark because I am not aware of reasons for such integartion issue, yet you can give them a try because they can let you keep the form decorator if you need it.
Regards,
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thank you.