AlbumOnNet WebControl Suite

SlideShow Class

SlideShow WebControl. Use it as a standalone SlideShow, or as a combined SlideShow and image viewer for the Album control.

For a list of all members of this type, see SlideShow Members.

System.Object
   Control
      WebControl
         SlideShow

[Visual Basic]
Public Class SlideShow
Inherits WebControl
Implements INamingContainer, IPostBackEventHandler
[C#]
public class SlideShow : WebControl, INamingContainer, IPostBackEventHandler

Remarks

The SlideShow is at the heart of AlbumOnNet.

Use it as a standalone SlideShow for image display, as an Ad rotator or as a combined SlideShow and image viewer for the Album control.

When using a standalone SlideShow, set the AlbumUrl property or fill in the Slides collection. The latter is the recommended method when using a SlideShow as an Ad rotator.

When a SlideShow is connected to the Album control, you only need to set the SlideShowControl property.

The SlideShow also determines if the SlideShow and connected controls should operate clientside (in the browser using cross-browser DHTML techniques), or cause server side interaction. The EnablePostBack property is set to false as default. Set it to true to enable postback for all events.

Note You can attach SlideShow control buttons or a toolbar to the SlideShow. The following types of control buttons are available in AlbumOnNet: SlideShowImageButton, SlideShowLinkButton and SlideShowButton. The following SlideShow tool bars are available: SlideShowImageButtonToolBar, SlideShowLinkButtonToolBar and SlideShowButtonToolBar.

The SlideShowLinkButtonToolBar is capable of displaying numeric links.

The AutoStart property (default true) determines if the SlideShow should start playing automatically or not.

The Interval property determines how long each slide should be displayed.

You can connect a SlideInfoViewer control to SlideShow by setting the SlideInfoViewerControl property.

If you set the Width and Height of the SlideShow control, make sure to set it to values large enough to hold the largest image in the SlideShow, or to hold any scaling you set using ScalingType, ScaleHeight and ScaleWidth.

A set of Internet Explorer static and transition Effect Filters can be set in the collections StaticFilters and TransitionFilters

Example

[aspx]

<%@ Register TagPrefix="axp" Namespace="AlbumOnNet" Assembly="AlbumOnNet" %>
            <html>
            <body bgColor="#000000">
            <form id=Form1 method=post runat="server">
            <axp:slideshow id=SlideShow1 runat="server" 
            BackColor="ForestGreen" Width="600px" Height="400px" SlideOrder="OriginalOrder" 
            ImageBorderColor="Gold" ImageBorderStyle="Outset" ImageBorderWidth="2px" 
            ScalingType="MaximumSize" ScaleHeight="350" 
            AutoStart="False" 
            BorderColor="#FF8000" BorderWidth="4px" BorderStyle="Inset" 
            Prefetch-PrefetchType="Custom" Prefetch-NumberOfPrefetchImages="2">
            <StaticFilters>
            <axp:StaticFilter FilterProperties="color=gold,strength=20" FilterType="Glow"></axp:StaticFilter>
            <axp:StaticFilter FilterProperties="color=red" FilterType="DropShadow"></axp:StaticFilter>
            </StaticFilters>
            <TransitionFilters>
            <axp:TransitionFilter Transition="Fade" FilterProperties="Duration=1"></axp:TransitionFilter>
            </TransitionFilters>
            </axp:slideshow>
            </form>
            </body>
            </html>
            

Requirements

Namespace: AlbumOnNet

Assembly: AlbumOnNet (in AlbumOnNet.dll)

See Also

SlideShow Members | AlbumOnNet Namespace