I have a RadGrid with an EditForm (defined declaratively in an EditFormSettings-FormTemplate). In that template, I set up a table with one row for each field I'm allowing the user to edit. One of those rows needs to be selectively disabled server side from code behind. I'm trying to do that in the ItemDataBound method. I use the FindControl method on the GridItem passed into that method (parameter
GridItemEventArgs
e, property Item, if it's a GridEditFormItem). If I try to find the label or textbox control that I want to disable, I can find them and set their visibility fine. But if I try giving an Id to the Tr table row tag, or to a div that I wrap around that tag, and try FindControl with the id of those controls, item.FindControl does not find the control. I want to disable the entire table row, not just the controls in that row. How can I do that?
Thanks!