i export radgrid to excel sheet , sometimes i make filter then export as it should export the filtered data not all the data........the code is :
radGrid.MasterTableView.AllowPaging = false;
radGrid.MasterTableView.AllowFilteringByColumn = false;
radGrid.Rebind();
radGrid.ExportSettings.FileName = "Logs Sheet_" + DateTime.Now.ToShortDateString();
radGrid.MasterTableView.ExportToExcel();
line 2 which disable allowfilter is used to hide filter button and text in the same time it export all the data not the filtered and this is the problem .i tried to hide button but there no fuction to hide text..................
radGrid.MasterTableView.AllowPaging = false;
radGrid.MasterTableView.AllowFilteringByColumn = false;
radGrid.Rebind();
radGrid.ExportSettings.FileName = "Logs Sheet_" + DateTime.Now.ToShortDateString();
radGrid.MasterTableView.ExportToExcel();
line 2 which disable allowfilter is used to hide filter button and text in the same time it export all the data not the filtered and this is the problem .i tried to hide button but there no fuction to hide text..................