Hello
Use following javascript
function checkRadioButton(id, id1) {
var radio = document.getElementsByName(id);
if (radio.length > 0) {
for (var j = 0; j < radio[0].cells.length; j++) {
for (var k = 0; k < radio[0].cells[j].children.length; k++) {
if (radio[0].cells[j].children[k].checked == true && radio[0].cells[j].innerText == "Yes") {
document.getElementById(id1).disabled = false;
}
else if (radio[0].cells[j].children[k].checked == true && radio[0].cells[j].innerText == "No") {
document.getElementById(id1).disabled = true;
}
}
}
}
}
Then use following code in .cs page in page load
radiobuttonID.Attributes.Add("onClick", "checkRadioButton('" + RadioButtonID.ClientID + "','" + DropDownListID.ClientID + "')");
Thanks,
Abhimanyu Rawat