ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearPageCollection : setPage Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function setPage( index : number(Integer), page : ImGearPage ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearPageCollection.setPage(number(Integer),ImGearPage); |
This function puts the page at the required index. This function will not add a new page to the collection; the collection must contain a page at the given index before you call this function.
This function will raise two events, the pageRemoved event for the removal of the existing page and the pageAdded
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearPageCollection
ImGearPageCollection Members