RadCarousel for WinForms

4 posts, 0 answers
  1. Ileana
    Ileana avatar
    6 posts
    Member since:
    Sep 2012

    Posted 29 Oct 2012 Link to this post

    I need to know how to use this control to show me the images that are inside a folder( in a directory), not something that is static
    aand it is possible be automatically movement, where you dont need user interaction, can be possible to do this with this control?
  2. Peter
    Peter avatar
    1148 posts

    Posted 01 Nov 2012 Link to this post

    Hi Ileana,

    Thank you for writing.

    The RadCarousel do not support loading image files from a folder out of the box. You should manually load files. Here is an example:
    string[] filePaths = Directory.GetFiles(@"c:\MyDir\", "*.bmp",  SearchOption.AllDirectories);
    foreach(string fileName in filePaths)
        Image image = Bitmap.FromFile(fileName);
        RadButtonElement item= new RadButtonElement();
        item.Image = image;

    For more information about RadCarousel please, read this help article.

    I hope this helps. All the best,
    the Telerik team
    Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
  3. Aref
    Aref avatar
    20 posts
    Member since:
    Sep 2015

    Posted 11 Dec 2015 Link to this post

    I just wondering if it is possible to modify the path to straight line?
  4. Dess
    Dess avatar
    2484 posts

    Posted 14 Dec 2015 Link to this post

    Hello Aref,

    Thank you for writing.
    Please refer to the Carousel Path help article which demonstrates a sample approach how to define the desired path.

    I hope this information helps. Should you have further questions I would be glad to help.
    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 Feedback Portal and vote to affect the priority of the items
Back to Top