<xmod:Slideshow>

The Slideshow tag, like the Template tag, is a View control that is used for displaying records from your datasource. Unlike the Template tag, the Slideshow is a view with a single purpose- to display images in an eye-pleasing presentation with very little work on your part. All you have to do is supply it with a list of URL's to your images and set a Width and Height for the viewer. It is used in essentially the same manner as the Template tag and can be used together with the Template tag within your templates.

Unlike the Template or DataList tags, the Slideshow doesn't allow any data commands or paging. Additionally, since this is a presentation control, it is assumed that those who can see the module can view the slideshow, so there are no permissions. As a result, the syntax is very simple.

IMPORTANT: Use of this control REQUIRES jQuery 1.3 or later be available on the page.

Syntax

<xmod:Slideshow

    BasePath="string"
    ConnectionString="string"
    Height="pixels"
    ID="string"
    ImageField="string"
    ResizeImages="True|False"
    Timeout="milliseconds|4000"
    Width="pixels">


    <ListDataSource CommandText="string"
        ConnectionString="string"/>

 
</xmod:Slideshow>

Remarks

Back to top

Example

<xmod:Slideshow ImageField="EmployeePicUrl" Height="250" width="200" Timeout="6000" BasePath="/images/employees/">
    <ListDataSource commandtext="SELECT EmployeePicUrl FROM Employees" />

</xmod:Slideshow>
Back to top