Version

Next and Previous Buttons

The WebImageViewer™ control uses a viewport to restrict the visible portion of the underlying image strip. For navigation purposes the WebImageViewer control exposes Next and Previous buttons. Your end user can avail of these buttons to scroll through the images.

While navigating through the images they are scrolled using a scroll animation. For more information, see Change how the Image Viewer Scrolls Through Images.

By default, the Visible property on the NextButton object and PreviousButton object is set to True.

The following code snippet shows how to set properties on the NextButton object.

WebImageViewer_Set_Navigation_Type_01

In Visual Basic:

Me.WebImageViewer1.NextButton.altText = "Next Button"

In C#:

this.WebImageViewer.NextButton.altText = "Next Button";