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

[Solved] Web application partially renders on initial page load

6 Answers 167 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Computer Surgeon
Top achievements
Rank 1
Computer Surgeon asked on 03 Apr 2009, 08:46 AM
Hi,
    i'm developing a web application where in the rendering of the application is gets loaded 1/4 on initial stage and after 5 to 10 sec the complete page gets populates . Snapshot of the application is provided as a link below.
SnapShot of application rendering

Is there any way to avoid 1/4 of rendering to a single stretch complete full page rendering.

6 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 03 Apr 2009, 10:03 AM
Hi Computer Surgeon,

I assume that most probably you have set the RadSplitter size in percentages - if so, on initial page load the splitter will need some time to calculate the actual size it should take. In order to hide this initial resizing of the end user, you should set VisibleDuringInit="false".

Kind regards,
Svetlina
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sylvain
Top achievements
Rank 1
answered on 03 Apr 2009, 01:28 PM
I'm not sure which version of the controls the original poster is using, however I have to say that since I updated to Q1 2009 SP1 yesterday I also have the same behavior happening on radsplitters where it didn't happen before (by that I mean Q1 2009, and all of 2008).  I have VisibleDuringPageInit="True" and my page would load at 100% of the width. Now it loads only at ~50% and then expands after a significant delay. I don't want to use VisibleDuringPageInit="False" since all you get is a weird blank screen and a delay.

What happened since Q1 2009? The release notes don't mention anything.
0
Computer Surgeon
Top achievements
Rank 1
answered on 06 Apr 2009, 06:02 AM
Hi,
If i use this attribute to RadSplitter VisibleDuringInit="false". then for each and every click its partially post backing only but getting white background as if taking a complete post back any idea why its happening.
0
Tsvetie
Telerik team
answered on 06 Apr 2009, 12:05 PM
Hello Sylvain,
In case I understand you correctly, the problem is that your page loads notably slower with the Q1 2009 SP1 version of the suite than with a previous version. If this is the case - you are the first to report such behavior and I am not sure what could have caused it. In case you send me a running project that loads fast with Q3 2008 SP2 and slow with Q1 2009 SP1, I would do my best to find out what causes the behavior.

@Computer Surgeon - when you set VisibleDuringInit=false for a RadSplitter, you configure it to remain hidden while it loads. That is why, in case you update the RadSlider itself with the AJAX request, it would hide again. In case this is not the case, please prepare and send me a simple running project, demonstrating the problem you describe and I will research what causes it.

Best wishes,
Tsvetie
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Sylvain
Top achievements
Rank 1
answered on 06 Apr 2009, 12:26 PM
Hi Tvsetie,
Actually I'm not saying it's slower, just rendering differently. Up to Q1 2009, my page was showing at 100% of the width, while everything was initializing on the page (which would be hidden if I had visibleduringinit=false). Now what  happens is that the page shows at 50-60% of the width, then initializes, then when done, expands to a full 100% of the width. I know this may happen when you use width defined as percentage, but my code didn't change between Q1 2009 and Q1 2009 SP1.
Sylvain
0
Tsvetie
Telerik team
answered on 07 Apr 2009, 04:09 PM
Hi Sylvain,
I already answered your support ticket with the same question. I will give the information here as well, so that it is available to all, who might run into the same problem.

I created a simple test pages, based on the provided information, and indeed there was a difference in the HTML that the RadSplitter renders with Q1 2009 SP1 in comparison with Q1 2009. I will forward to problem to our developers and we will do our best to fix it for the next update of the suite.

Sincerely yours,
Tsvetie
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Computer Surgeon
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Sylvain
Top achievements
Rank 1
Computer Surgeon
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or