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

panelbar flickering on page load

4 Answers 116 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Christian Jensen
Top achievements
Rank 1
Christian Jensen asked on 24 Sep 2008, 03:07 PM
Hello

I have upgraded from classic PanelBar to PanelBar for asp.net ajax. My panelbar is populated server side and seems to be served as proper html with all correct css classes, but in IE7 the PanelBar is first rendered as a simple un-styled html list, and then quickly  (<1 second) re-rendered with correct style (I have tried Vista, Black etc). In firefox this does not happen.

The panelbar is very simple, no postbacks, no ajax, just items with links and default collapse/expand behavior.

I suspect the "new" asp.net ajax style init code that looks like this:

Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadPanelBar,.... etc
Sys.Application.initialize();

What can I do to get the "old" quick no-nonsense behavior back?

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Sep 2008, 03:11 PM
Hi Christian Jensen,

We cannot reproduce such behavior in our online demos. Are you doing anything different?

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian Jensen
Top achievements
Rank 1
answered on 25 Sep 2008, 06:55 AM
Hello

I have a "shared" ComponentArt calendar control (used in datepicker popups) on all pages (actually on the master page)  because I do a lot of partial page updates and need to know that there is a calendar control on the page.

If I remove that control the flickering stops (or at least is so fast that it can be accepted (there is still a "white flash" of un-styled rendering))

If I use the radcalendar DatePicker(with its nice build-in shared calendar capability) instead of the ComponentArt one, can I count on that the fickering goes away?
0
Accepted
Atanas Korchev
Telerik team
answered on 25 Sep 2008, 07:02 AM
Hi Christian Jensen,

There are no known "flickering" issues caused by RadCalendar. You can give it a try. Also make sure your <head> tag has its runat="server" attribute set. If it does CSS files will be registered in the <head> tag which would eliminate any potential flickering due to delayed CSS loading/

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Christian Jensen
Top achievements
Rank 1
answered on 25 Sep 2008, 09:06 AM
Thank you, flickering is gone.

My head tag had was not a server tag, so the rad controls could not "register css reference".

I added runat="server" and a RadCodeBlock around my existing script tags in the head. (nice with a help text in the execption message!)

regards
Tags
PanelBar
Asked by
Christian Jensen
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Christian Jensen
Top achievements
Rank 1
Share this question
or