Version

PrevButtonClicked Property

Event fired the Previous Button is Clicked
Syntax
'Declaration
 
Public Property PrevButtonClicked As String
public string PrevButtonClicked {get; set;}
Example
// The client side event PrevButtonClicked takes two parameters, sender and e.
// Sender is the object which is raising the event
// e is the ImageViewerButtonEventArgs
function WebImageViewer_PrevButtonClicked(sender, e) {
   var imageViewer = $find("WebImageViewer1");
            
   // Get the HTML DOM element associated with the event 
   var buttonElement = e.getButtonElem();
           
   // Get the scroll animation object   
   var scrollAnimations = imageViewer.get_scrollAnimations();

   // Set the Animation type to continuous
   scrollAnimations.set_type($IG.ScrollAnimation.Continuous);

   // Specify the direction
   imageViewer.navigatePrev();
}
Me.WebImageViewer1.ClientEvents.PrevButtonClicked = "WebImageViewer_PrevButtonClicked"
this.WebImageViewer1.ClientEvents.PrevButtonClicked = "WebImageViewer_PrevButtonClicked";
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also