Display a record (database) on the Carousel item ?

2 posts, 0 answers
  1. Le
    Le avatar
    4 posts
    Member since:
    Nov 2008

    Posted 13 Jan 2009 Link to this post


    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 !

  2. Deyan
    Deyan avatar
    2147 posts

    Posted 15 Jan 2009 Link to this post

    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.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top