Exemple #1
0
 private void gdvUnknown_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     try
     {
         e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.DisplayError;
         e.WindowCaption = "Input error";
     }
     catch (System.Exception exception1)
     {
         System.Exception thisException = exception1;
         Management.ShowException(thisException);
     }
 }
 private void viewListado_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction;
 }
Exemple #3
0
 private void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction;
 }
Exemple #4
0
 private void gridView_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     this.gridView.SetColumnError(this.gridView.Columns[1], e.ErrorText.ToString());
     e.ExceptionMode = DevExpress.XtraEditors.Controls.ExceptionMode.NoAction;
 }
Exemple #5
0
 private void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction; //Suppress displaying the error message box
 }
Exemple #6
0
 private void advBandedGridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     // e.ExceptionMode = ExceptionMode.NoAction;
 }
Exemple #7
0
 void gridView1_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     e.ExceptionMode = ExceptionMode.NoAction;
 }
Exemple #8
0
 void gridView_InvalidRowException(object sender, DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventArgs e)
 {
     throw new NotImplementedException();
 }