Completed
Last Updated: 10 Oct 2014 13:47 by ADMIN
ADMIN
George
Created on: 29 Sep 2014 08:22
Category: Carousel
Type: Bug Report
0
FIX. RadCarousel - Setting VisibleItemsCount to less than the actual items count and clicking the back/forward buttons causes IndexOutOfRangeException in RadElementZOrderCollection
Use the following code:

RadCarousel c = new RadCarousel
{
    Parent = this,
    Dock = DockStyle.Fill
};

for (int i = 0; i < 50; i++)
{
    c.Items.Add(new MyButtonElement("Button " + i));
}

c.VisibleItemCount = 3;

Start the application and click the buttons to switch the elements, you will see the exception
0 comments