private void LinkbuttonNext_Command(object source, CommandEventArgs e) { IPaginatedList productList = this.NPetshopState.CurrentList; productList.NextPage(); DataBind(); }
protected void LinkbuttonNext_Command(object source, System.Web.UI.WebControls.CommandEventArgs e) { IPaginatedList productList = this.NPetshopState.CurrentList; productList.NextPage(); DataBind(); }
private void LinkbuttonNext_Command(object source, System.Web.UI.WebControls.CommandEventArgs e) { IPaginatedList productList = this.WebLocalSingleton.CurrentList; productList.NextPage(); this.CurrentController.NextView = WebViews.PRODUCTS_BY_CATEGORY; }
public IEnumerator GetAllLines() { ArrayList allItems = new ArrayList(); int index = _cartLines.PageIndex; _cartLines.GotoPage(0); foreach (ShoppingCartLine line in _cartLines) { allItems.Add(line); } while (_cartLines.NextPage()) { foreach (ShoppingCartLine line in _cartLines) { allItems.Add(line); } } _cartLines.GotoPage(index); return(allItems.GetEnumerator()); }