ASPxClientImageSlider.GetItem(index) Method

Returns an item specified by its index within the image slider's item collection.


    index: number,
    forceLoad?: boolean
): ASPxClientImageSliderItem


Name Type Description
index number

An integer value specifying the zero-based index of the item to be retrieved.

forceLoad boolean

true, to force the item's loading; otherwise, false.


Type Description

An ASPxClientImageSliderItem object that is the collection item found.


An image slider's client-side functionality enables you to programmatically access and manipulate a particular item on the client side. Use the GetItem method to get the client-side item object at the specified index and to force its loading if required (if the ImageSliderBehaviorSettingsBase.EnableVirtualPaging property is set to true). This method can be used together with the ASPxClientImageSlider.GetItemCount method when iterating through the list of control items.

Note that the index parameter is zero-based and its largest available value is specified by the ASPxClientImageSlider.GetItemCount value decremented by one. If you pass an invalid index via the parameter, the method returns null.

Refer to the Paging topic for more information.

Online Demo

Image Slider - Virtual Paging

See Also