You can create Rotator and Rotator items entirely in code behind. PlaceHolder holds the Rotator control. An object is created for the Rotator control. Height and Width properties are set by SlideWidth and SlideHeight to the slider. There are two methods to bind Rotator items. Rotator items are created by using either Data source or Item template. In Data source, items are created as a list and they are directly mapped to Rotator. But in Item template each and every item is added separately. Refer the following code example. ASPX
C#
|
This page will automatically be redirected to the sign-in page in 10 seconds.