protected void lnbDelete_Click(object sender, EventArgs e) { try { int[] arrayOfID = RadHelper.GetRowIdForDeletion(RadGrid1); if (BankService.CanDeleteBank(arrayOfID)) { BankService.DeleteBank(arrayOfID); btnCancel_Click(sender, e); } } catch (Exception ex) { WebFormHelper.SetLabelTextForException(lblStatus, ex, LabelStyleNames.ErrorMessage); } }