Page loads partially on load and after some 7 to 10 sec stretches to browser

3 posts, 0 answers
  1. Computer Surgeon
    Computer Surgeon avatar
    41 posts
    Member since:
    Nov 2008

    Posted 08 Jul 2009 Link to this post

    Hi there,

                 I use master content page relation through out my application. When i navigate from one page to another the complete page loads within 5 sec but (the whole page) shown in a shrink en manner. After 7 to 10 sec the page stretches to fit the exact browser size. I use VisibleDuringInit="true" ResizeWithBrowserWindow="true" FullScreenMode="true" for RadSplitter. Please guide me where i'm going wrong. I did some work around to stretch the whole page on load. But doesn't work .

    When i used VisibleDuringInit = "false" for RadSplitter after 15 sec the complete page gets loaded in a single stretch . But i 'm able to see the white page till it get loaded. how to avoid that.

  2. Christopher Bishop
    Christopher Bishop avatar
    50 posts
    Member since:
    May 2008

    Posted 10 Jul 2009 Link to this post

    Sounds like you have a lot of overhead elsewhere if you page is taking that long to load (big viewstate?)

    The one way I found that works best for the splitter is to use fixed width for the parent objects so what I do because I have web applications that take up the whole browser with a header and footer is use JS to set the widths of my parent wrapper to the size of the viewport and then it seems to work a LOT better with rendering...

  3. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 13 Jul 2009 Link to this post

    Hello Computer Surgeon,

    Basically, Christopher Bishop is correct and since your setup requires so long to load, it is best to revise it and use the ASP.NET techniques to improve the performance, e.g use AJAX, etc.

    In case you prefer to keep the things as they are, the only thing I can suggest is to set VisibleDuringInit="false" and while the page is blank to show a DIV element with a loading image in it - when the splitter is completely loaded - just to hide the DIV. In this manner, the user will have a visual indication that something is going on in the background and it will be much better and user friendly than having a blank page.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top