protected void Button1_Click(object sender, EventArgs e) { //this.Label1.Text = this.Grid1.PageSize.ToString() + "/" + this.Grid1.PageCount.ToString() + "/" + this.Grid1.RecordCount.ToString() // + "/" + this.Grid1.GroupBy // + "/" + (int)Math.Ceiling((double)(((double)this.Grid1.RecordCount) / ((double)this.Grid1.PageSize))); ; IDataBuffer db = Microsoft.Practices.ServiceLocation.ServiceLocator.Current.GetInstance <IDataBuffer>(); if (db != null) { db.Reload(); } }