Hello - if I only have 2 or 3 items in my rotator and I use my mouse scroll wheel over the rotator, those few items scroll up and out of view leaving and empty space.
You can cancel the "OnClientItemShowing" event based on the items count in rotator.
Client code:
functionOnClientItemShowing(sender, args) {
itemCount = sender.get_items().length;
if(itemCount < 3) {
args.set_cancel(true);
}
}
-Shinu.
0
Niko
Telerik team
answered on 25 Feb 2011, 12:26 PM
Hi John,
Could you specify the version of RadControls for ASP.NET AJAX that you have encountered the problem with? Also could you let me know what browser is reproducing the issue and which version? Finally, please, send us a fully runnable sample project, which shows the strange behavior, so that we can investigate it in details.
Greetings,
Nikodim
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!