LightBox for ASP.NET Web Forms
Enabling Buttons in LightBox
Task-Based Help > Enabling Buttons in LightBox

If you choose you can enable Play and Stop buttons in the lightbox for additional navigation options. The CtrlButtons property determines the visibility of control buttons; it is a flag enum property with the following possible values:

LightBox displays pages in order after clicking the Play button. To play automatically after initializing, set the AutoPlay property to True.

The DialogButtons property determines the visibility of dialog box control buttons, which is a enum property with the following possible values:

If the FullSize button is displayed, then the user can expand the Lightbox to cover the entire window by clicking the FullSize button.

In the example below you'll enable buttons in C1LightBox.

In Source View

In Source view add ShowTimer="true" CtrlButtons="Play, Stop" DialogButtons="Close, FullSize" to the <cc1:C1LightBox> tag so it appears similar to the following:

<cc1:C1LightBox ID="C1LightBox1" runat="server" ShowTimer="true" CtrlButtons="Play, Stop" DialogButtons="Close, FullSize" >
See Also