private System.Boolean CheckvalidationForRadioButton { //CheckValidation double value = 0; for (int i = 0; i < grdEditSparePartsMaintenance.Rows.Count; i++) { RadioButton rd = (RadioButton)grdEditSparePartsMaintenance.Rows[i].Cells[0].FindControl("chkEdit"); if (rd != null) { if (rd.Checked) { value += 1; } } } if (value > 1) { Alert("Select Any one checkbox"); } }
private System.Boolean CheckvalidationForRadioButton() { ... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)