/// <summary> /// Binds object to be listed. /// </summary> protected virtual void Bind() { try { GridUtils.Reset(); GridUtils.Bind(); UpdatePanelGrid.Update(); } catch (Exception ex) { ShowError(ex); } }
protected override void Print() { base.Print(); var gridPrintUtils = new GridUtils <T>(MasterPage.GridPrint, this); gridPrintUtils.GenerateColumns(); gridPrintUtils.Reset(); gridPrintUtils.CopyColumns(Grid); try { gridPrintUtils.Bind(); UpdatePanelPrint.Update(); var sh = new ScriptHelper(this); sh.RegisterStartupScript("print", "PrintReport();"); } catch (Exception ex) { ShowError(ex); } }
public void ClearDocumentos() { Data = new List <Documento>(0); GridUtils.Bind(); }
public void BindDocumentos() { GridUtils.Bind(); }