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

RadCarousel for WinForms

3 Answers 111 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Ileana
Top achievements
Rank 1
Ileana asked on 29 Oct 2012, 05:19 PM
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?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Nov 2012, 01:09 PM
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;
    radCarousel1.Items.Add(item);
}

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

I hope this helps. All the best,
Peter
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Aref
Top achievements
Rank 1
answered on 12 Dec 2015, 12:17 AM
Hi
I just wondering if it is possible to modify the path to straight line?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Dec 2015, 11:36 AM
Hello Aref,

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

I hope this information helps. Should you have further questions I would be glad to help.
 
Regards,
Dess
Telerik
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
Tags
Carousel
Asked by
Ileana
Top achievements
Rank 1
Answers by
Peter
Telerik team
Aref
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or