It is expected behavior that the OnClientItemShown
client-side events are not raised when the current item of RadRotator is set via set_currentItemIndex
. Nevertheless, it is logical that these events are fired in the discussed scenario. We will consider changing this behavior in a future release of RadControls for ASP.NET AJAX, although currently I cannot provide a firm estimate when this will be done.
Is it possible that you wrap the part of your logic, which you need to execute when a new item is displayed, in a function so that you can call it both in the OnClientItemShown/OnClientItemShowing event handler and when the set_currentItemIndex
method is used?
All the best,
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed