AlbumOnNet WebControl Suite

Album Class

Album WebControl.

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

System.Object
   Control
      WebControl
         BaseDataList
            DataList
               Album

[Visual Basic]
Public Class Album
Inherits DataList
[C#]
public class Album : DataList

Remarks

The Album Control is used to display thumbnail images in table or list mode. The images can be arranged vertically or horizontally, allowing for images displayed as a Film Strip.

Initially set the AlbumUrl property.

The Album control is inherited from the DataList control.

The Album control will as default generate the ItemTemplate for the DataList internally, but it is possible to create a fully customizable representation of each cell in the table or list. UseCustomItemTemplate

The Album control can be paged. This requires some coding in your page code. See SetPagedAlbum for details.

Example

<%@ Register TagPrefix="axp" Namespace="AlbumOnNet" Assembly="AlbumOnNet" %>
             <html>
             <body bgColor=#000000>
             <form id=Form1 method=post runat="server">
             <axp:album id=Album1 runat="server" BorderWidth="3px" BorderStyle="Ridge" 
            BorderColor="ForestGreen" BackColor="Black" 
            Font-Size="8pt" Font-Names="Tahoma" ForeColor="Orange" RepeatDirection="Horizontal" 
            GridLines="Both" AlbumUrl="albums/album1/" Caption="Album3" CaptionAlign="Left">
            <ItemStyle HorizontalAlign="Center" Height="100px">
            </ItemStyle>
            </axp:album>
            </form>
            </body>
            </html>
            

Requirements

Namespace: AlbumOnNet

Assembly: AlbumOnNet (in AlbumOnNet.dll)

See Also

Album Members | AlbumOnNet Namespace