LoadingElementDuration doesn't fully animate

Go To StackoverFlow.com

1

When using

AjaxOptions ajaxOpts = new AjaxOptions
{
    UpdateTargetId = "Entry",
    LoadingElementDuration = 5000,
    LoadingElementId = "Remove"
};

With

<div id="Remove">
@using (Ajax.BeginForm("Data", ajaxOpts))
{
}
</div>
<div id="Entry"></div>

The animation call on the div "Remove" takes around 60ms, not 5000ms. Is this because it only animates during the request and disregards the actual loadingelementduration? Why is this happening?

2012-04-03 22:17
by Travis J


2

The duration of the element loading will occur over the amount of loading time, so if the loading time is faster than the animation speed it goes very quickly.

2012-04-09 22:07
by Travis J
Ads