Window layout

8 posts, 0 answers
  1. MiroslavStantic
    MiroslavStantic avatar
    42 posts
    Member since:
    Oct 2003

    Posted 26 Nov 2012 Link to this post

    Hi,

    thing is that sometimes RadWindow layout is really bad. I'm using the latest version of telerik controls, so update is not an option. When the bug appears, after few restarts it will work again fine. It seems to appear randomly. Here is the screenshot of the layout. Any help would be good.

    Thanks
  2. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 26 Nov 2012 Link to this post

    Hi,

    I can't open the screenshot:

    404 - File or directory not found.

    Would you send it again? Could you also give us some steps to follow in order to reproduce the issue? It will be also good to tell if this happens in all browsers or not?

    Kind regards,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. MiroslavStantic
    MiroslavStantic avatar
    42 posts
    Member since:
    Oct 2003

    Posted 27 Nov 2012 Link to this post

    Sorry.

    It is a silverlight project (4.5 framework). ASP.NET is used for SSRS report viewer. Steps to reproduce - i have no idea :) my tester sometimes gets this bug (he cannot figure out when and why bug appears). i saw it just once, but before i updated to latest Telerik AJAX controls.

    Here are the screenshots: Screenshot 1 Screenshot 2
  4. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 28 Nov 2012 Link to this post

    Hi,

    As I could see from the screenshots, some CSS styles are missing.

    Note that if you load your application in IE, and it is complicated (using a lot of controls), you could experiencing the 31 stylesheet limitation issue.

    If you load to many controls on a page it could be possible to load more than 31 stylesheets on a page, then IE would not load all of them.

    There is a blog post on our website: Internet Explorer CSS Limits where the problem is described in detail and suggests several ways to fix the issue.

    But in shortly, I will suggest you to add RadStyleSheetManager to your application. RadStyleSheetManager control gives developers the advantage of a simple drag-and-drop to achieve the combination of resources to a single request. All you need is to add a RadStyleSheetManager to your page and the stylesheet requests will be combined into a single request.



    Regards,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  5. MiroslavStantic
    MiroslavStantic avatar
    42 posts
    Member since:
    Oct 2003

    Posted 28 Nov 2012 Link to this post

    Adding StyleSheetManager just like this: 

    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" Runat="server" />

    Will this do the job?

  6. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 28 Nov 2012 Link to this post

    Hi,

    As I don`t have your project, and you didn't provide steps to reproduce the issue I could only presume what is the issue. I am almost sure it should be the 31 stylesheet problem I described in my previous post.

    And yes, the code from your last post is enough to do the job. Once you put in on the page, you could inspect it using firebug to find how many CSS requests you have on the page, than you could remove it and check the same again. With RadStyleSheetManager enabled, all embedded CSS files from the Telerik DLL should be combined into a single request.

    Greetings,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. MiroslavStantic
    MiroslavStantic avatar
    42 posts
    Member since:
    Oct 2003

    Posted 05 Dec 2012 Link to this post

    Re-up :)

    The RadStyleSheetManager didn't solve the issue. Issue is solved when I delete caching and history from IE. after that, it works for a while. And than again the same.
  8. Bozhidar
    Admin
    Bozhidar avatar
    693 posts

    Posted 05 Dec 2012 Link to this post

    Hi,

    As I said in an earlier post, until you can't send us a working project with the issue reproduced we can't give you the proper solution, as you can't give us step to reproduce it, and we only know it happens sometimes and sometimes it does not happens.

    In that case I would suggest to remove some of the external resources on your page and to try if the issue still exists. Probably some of them could be the reason of the issue.

    Excuse us for the unclear answer, but until we do not have an information how to reproduce the issue, we could not not help you the way we want it to.

    Could you ask your tester for more detailed information? Also you could check with FireBug when the issue is reproduced if all resources from the DLL have been loaded on the page.

    Greetings,
    Bozhidar
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top