We can render the custom view by using “ItemTemplate” property in Carousel. The following steps will help to render the custom view.
Step1: Add needed assemblies to have the carousel control
Step2: Create a model view which holds the data (CarouselModel)
Step 3: ItemTemplate property of carousel is used to customize the contents of carousel items. So, assign the collection of your template view to carousel datasource.
The below code illustrates the way to render a custom content to carousel
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|