This is a migrated thread and some comments may be shown as answers.

Based on comboBox selected value disable grid controls

1 Answer 48 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
SP
Top achievements
Rank 1
SP asked on 12 Jan 2013, 09:15 PM
hi,

hope doing well, i want to disable grid controls when radgrid is in editable mode based on combobox selection, combobox control is not in the radgrid i have tried javascript to do that but  no luck i was unable to find controls in the radgrid, can any one tell me server side and client side both.

Thanks
Regards

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 14 Jan 2013, 09:00 AM
Hi,

Try the following javascript to achieve your scenario.
JS:
function OnClientSelectedIndexChanged(sender, args) {
  var editForm = $find("RadGrid2").get_masterTableView().get_editItems();
         var txt=editForm[0].findElement("TextBox1");
}

Thanks,
Shinu
Tags
ComboBox
Asked by
SP
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or