protected virtual void OnEventExportData(ExportType args) { this.DataBind(); this.SessionExportType = args; this.SessionExportData = ExportHelper.GetExportData(this.GetGridExporter(), args); ASPxGridView.RedirectOnCallback(Request.Url.AbsolutePath); }
protected void grid_CustomButtonCallback(object sender, ASPxGridViewCustomButtonCallbackEventArgs e) { ASPxGridView detailGrid = ((ASPxGridView)sender); string FinNo = Convert.ToString(grid.GetRowValues(e.VisibleIndex, "VehicleNumber")); string queryStringStd = "?FINNumber=" + FinNo; if (e.ButtonID == "btnPrintNIK") { ASPxGridView.RedirectOnCallback("~/custom/Report/ReportProduction.aspx?" + queryStringStd); } }