Greetings,
I have 2 controls :
1- Rad Carousel (name = Slideshow) , with 5 Image items , each image is labeled on with its corresponding index.
2- Label1
I wrote the code below to check the selected item of Rad Carousel control (Using a very simple method : showing the selected index value in form of a label's text)
Private
Sub
SlideShow_SelectedItemChanged(sender
As
Object
, e
As
EventArgs)
Handles
SlideShow.SelectedItemChanged
Label1.Text = SlideShow.SelectedIndex
End
Sub
Private
Sub
SlideShow_SelectedIndexChanged(sender
As
Object
, e
As
EventArgs)
Handles
SlideShow.SelectedIndexChanged
Label1.Text = SlideShow.SelectedIndex
End
If
End
Sub
I attached a gif file that illustrates the issue with odd indexing.
Surprisingly, When I switch between items moving backward and forward, the selected item's index, shown in the label, doesn't match with the real indexing of the item . As you can see, clicking on the right arrow of the Rad Carousel seems to work just fine and indexing is correctly shown, but clicking on the left arrow of the Rad Carousel doesn't seem to be showing the real index of the selected item (doesn't make any sense).
Thanks for your attention.