This is a migrated thread and some comments may be shown as answers.

Display a record (database) on the Carousel item ?

1 Answer 157 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Le
Top achievements
Rank 1
Le asked on 13 Jan 2009, 09:37 AM
Hello,

I have a Sql database with tables. In each table, there are some types of data such as: string, int, image. Now i want to freely display my database by using Carouse control, where, one record for one item of carousel. I want to customize content what will be displayed on Carousel item: arrange postion of image on carousel item, position of vallue fields on carousel item. BUT i don't know how to do ?

By Devexpress product, namely, GridView control. This control can display a record of database on Carousel Item (string, int, image...). You can view at: http://www.devexpress.com/Products/NET/Controls/WinForms/Grid/carousel.xml

Can anybody help me ?

Thank you so much !

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 15 Jan 2009, 11:33 AM
Hi Le,

Thanks for your interest in RadControls for WinForms and RadCarousel in particular.

Unfortunately, RadCarousel does not support this behavior out of the box - it is possible to achieve it, however, this requires some advanced techniques including mapping controls to bitmaps. The idea in short is to create a custom control (e.g. RadPanel) which contains other controls which in turn display the information for a data base row. Then you can create bitmap shapshots of this panel for the items currently in the background. Each time you select an item in the RadCarousel, you place an instance of your custom control and load it with the information from the database which is actually the way the trick is achieved.

Please note that we have designed the RadCarousel as a separate UI component that can display a variety of items which significantly increases its complexity.

You can read more about the RadCarousel here:

RadCarousel for WinForms 

Some sample applications that demonstrate the RadCarousel capabilities:

Carousel Demos 

Hope this answers your question.

Do not hesitate to write back if you have further questions, feedback, or any suggestions.

Greetings,
Deyan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Carousel
Asked by
Le
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or