Monday, March 26, 2012

dropshadowextender causes a page to draw in 2 stages

All --

Please help.

Why is it that the dropshadowextender causes a page to draw in 2 stages?

How can it be avoided?

Here are the details.

    I have an ASP.NET page written in C# using VS.NET and Ajax RC1.I have several 4 <DIV> tags on the page.I have a dropshadowextender assigned to each <DIV> tag.When the page loads, it draws in 2 stages.In the 1st stage, the page loads and is drawn as it would look without any Ajax. This view is shown only briefly, about 1 second -- but, it is very visible and noticable.In the 2nd stage, the page is redrawn (or modified) to have the Ajax effects applied. This view remains static until the next refresh.

Is there a workaround?

BTW, the same thing happens with the roundedcornersextender, but the 1st draw of the page lasts much less than a second, so it is hardly noticable.

Please advise.

Thank you.

-- Mark Kamoski

I ran into the similar problem to you when I applyAjax:DropShadowExtender to aasp:Panel. Sometimes the position of the drop shadow will take place changes when pressing F5 to refresh current web page. It is very slow when loading web controls for the first time or pressing?F5?to?refresh current web page.
DropShadow is an extender which applies a "Drop Shadow" to a Panel. It allows you to specify how wide the shadow is as well as how opaque it is, or if you would like rounded corners. For pages that allow the user to move or resize the panel, the DropShadow has a mode that will resize/reposition it to match that of the target panel at run time.

No comments:

Post a Comment