Posted
on Jun 24, 2010
(permalink)
Ok,
I have had some luck in the selected index change even. But the only problem is that when the item I made larger moves along it remembers its image size so I guess I also need to reset all the other items as well as the selected item. I still have no idea how to dim out the unselected items. This is the code I have got so far...
private void radCarousel1_SelectedIndexChanged(object sender, EventArgs e)
{
RadButtonElement carouselItem = (RadButtonElement)radCarousel1.SelectedItem;
Bitmap b;
b = (Bitmap)Image.FromFile("D:\\IMAGES\\" + "2" + ".jpg");
carouselItem.Image = ResizeBitmap(b, 150, 100);
}