protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e) { if (e.CommandName == RadGrid.ExportToExcelCommandName) { RadGridReport.AllowPaging = false; RadGridReport.Rebind(); } }
private void BindGrid() { RadGridReport.DataSource = Session["Result"]; RadGridReport.DataBind(); }