Hi Telerik support,
My client is using telerik control, version 2012...
We are using RadRotator. I want to get the current showing index. If I retrieve index like:
function OnClientItemShown( sender, eventArgs)
{
alert( eventArgs.get_item().get_index());
}
it does not always give the right value. For example, if I have 4 items, showing one item per screen. When it start rotating, the index for the first 3 times will be 0, 1, 2, which is correct. However, the 4th item and that after will always have the index as 2. And I found the returned index is not always stable.
Another question, when I called clearItems() to delete all items, then call addRotatorItem to add some items back from the client side, when I call start() after these operation, the type is AutomaticAdvance, there are strange behavior for the first time animation. It seems start rotating all items, then rotate to the second item the first time. If I clearItems again, and then add items back. The first time start() it will skip 1 pages. Can you tell me what I should do to get a stable rotating animation after I have clearItems and addRotatorItems?
Thanks in advance for suggestions.
Joe