Posted 20 Jul 2010
Link to this post
Thanks for writing.
Adding custom controls to RadCarousel is actually quite easy, but it might also lead to undesired consequences. Please note that RadGridView, RadChart, etc. are quite complex controls and adding them in RadCarousel will surely introduce performance issues. To avoid this, our team suggests you to use images instead of controls. Adding an image of RadChart instead of the RadChart itself, will be much lighter and easier for your application and thus you will avoid any performance issues.
The code snippet below illustrates how to add a RadChart image as item of RadCarousel:
RadChart myChart =
Image chartAsImage = myChart.GetBitmap();
RadImageItem imageItem =
imageItem.Image = chartAsImage;
Similarly, you can add a RadGridView image:
RadGridView radGridView1 =
Bitmap gridAsImage = radGridView1.RootElement.GetAsBitmap(Brushes.White, 0,
RadImageItem imageItem2 =
imageItem2.Image = gridAsImage;
I hope you find my answer useful. Let me know if I can assist you further.
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking
system and vote to affect the priority of the items