/// <summary> /// Functions used when the validating operation is finished /// </summary> /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.CellValidatedEventArgs"/> instance containing the event data.</param> protected virtual void OnValidated(CellValidatedEventArgs e) { if (this.validatedHandler != null) { this.validatedHandler(this, e); } }
void grdItems_CellValidated(object sender, CellValidatedEventArgs e) { try { /* validación en nuevo registro */ } catch (Exception ex) { Dialogos.MostrarMensajeError("", "Ha ocurrido un error al validar el registro." + ex.Message); } }
private void GridTitulos_CellValidated(object sender, CellValidatedEventArgs e) { if (_validating) { _validating = false; if (GridDatabound != null) { GridDatabound(this, e); } } }
private void radGridView1_CellValidated(object sender, CellValidatedEventArgs e) { if (e.RowIndex == -1) { if (!this.rowAdded) { if (e.Value == null || e.Value.ToString() == string.Empty) { return; } this.rowAdded = true; } else { return; } this.idxStaticValue.Add(this.agenda_variable.Count); } }
private void radGridView1_CellValidated(object sender, CellValidatedEventArgs e) { if (e.RowIndex == -1) { if (!this.rowAdded) { if (e.Value == null || e.Value.ToString() == string.Empty) return; this.rowAdded = true; } else return; this.idxStaticValue.Add(this.agenda_variable.Count); } }