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.
Unfortunately, activation email could not send to your email. Please try again.

How to create Rotator with thumnails in code behind?

Thread ID:

Created:

Updated:

Platform:

Replies:

121346 Dec 3,2015 11:27 AM Dec 7,2015 07:59 AM ASP.NET Web Forms 1
loading
Tags: Rotator
bloatus
Asked On December 3, 2015 11:27 AM

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:




Kalai Selvi Rajendran [Syncfusion]
Replied On December 7, 2015 07:59 AM

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.
http://asp.syncfusion.com/demos/web/rotator/thumbnail.aspx

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

http://www.syncfusion.com/downloads/support/forum/121346/ze/forum-193652405

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

Regards,
Kalai Selvi M.R.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;