This is a migrated thread and some comments may be shown as answers.

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

2 Answers 85 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
Computer Surgeon
Top achievements
Rank 1
Computer Surgeon asked on 08 Jul 2009, 10:30 AM
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.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Christopher Bishop
Top achievements
Rank 2
answered on 10 Jul 2009, 04:54 PM
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...

0
Svetlina Anati
Telerik team
answered on 13 Jul 2009, 08:16 AM
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,
Svetlina
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.
Tags
Splitter
Asked by
Computer Surgeon
Top achievements
Rank 1
Answers by
Christopher Bishop
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or