We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to create Rotator with thumnails in code behind?

I am trying to create a rotator with thumbnails in code behind with:

asp.net vs2010
Syncfusion version 13.3.07

I have successfully added rotator items using code like:

 rotator.DataSource = some list;

However when I try to add thumbnail items, and run the application I get an error:

rotator.ThumbItems.AddRange(some list);

Please see Error below:

1 Reply

KS Kalai Selvi Rajendran Syncfusion Team December 7, 2015 12:59 PM UTC

Hi Cliff,
Query : when load the thumbnail items in code behind, got an error.
Sorry for the confusion.
By default, when we bind a list to dataSource property directly to Rotator, then we don’t need to bind thumb Nail items separately, it will fetch the same items which was set to dataSource property. So Just enough to set True to showThumbNail property

Otherwise we can add the items and thumb nail items separately as like in below online demo link.

We have prepared simple sample for above mentioned scenario and can be downloaded from below link:


If you have any other queries, please let us know.

Kalai Selvi M.R.

Live Chat Icon For mobile
Up arrow icon