Exemple #1
0
 protected void grid_StartRowEditing(object sender, DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
 {
     if (!ASPxGridView1.IsNewRowEditing)
     {
         ASPxGridView1.DoRowValidation();
     }
 }
 protected void ASPxGridView1_StartRowEditing(object sender,
                                              DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
 {
     // Validates the edited row if it isn't a new row,.
     if (!ASPxGridView1.IsNewRowEditing)
     {
         ASPxGridView1.DoRowValidation();
     }
 }