Simple Image SlideShow Control

Unofficial Content

Download here

Control Description

The Simple Slide Show control allows displaying a series of images in an automated slide show. It can be customized by setting properties like transition time between images, size and fade duration. The control also has the ability to retrieve new images from the server using AJAX every time it runs out of pictures.

 

Simple Slide Show control picture 1

Using the control

The control loads an SDT named SlideShowData where you can specify the images (collection) that will be displayed by the control. Each item (SlideShowData.SlideShowDataItem) of the ImagesData collection has an ImageLink property where the image URL is specified below the picture

Example

Sub 'SimpleSlideShowSample'

&imageItem.ImageLink = image1.Link()

&images.Add(&imageItem)

&imageItem = new()

&imageItem.ImageLink = image2.Link()

&images.Add(&imageItem)

&imageItem = new()

&imageItem.ImageLink = image3.Link()

&images.Add(&imageItem)

EndSub

Control properties

 

Width

Sets control´s width

Height

Sets control´s height

SlideShowSpeed

Sets the speed for images transition

CrossFadeDuration

Sets the cross face duration between images (only works in IE)

Resize

Sets if images should be resized preserving its aspect ratio and fitting the control´s width and height

DataBindings

 

ImagesData

SlideShowData SDT with all the images to be displayed.

Control Events

Every time the control displays all the given images in the SlideShowData SDT it has the ability to go to the server (through AJAX) in order to load new images to display. This can be accomplished through the GetImages event as follows:

Event simpleSlideShow1.GetImages

&imageItem.ImageLink = image1.Link() &images.Add(&imageItem) &imageItem = new() &imageItem.ImageLink = image2.Link() &images.Add(&imageItem)

EndEvent

To Install It Visit: Default Installation Instructions for User Controls.

Contact information

Please send feedback to: ncardeli@artech.com.uy