I have a RadGrid (radgrid1) with a FormTemplate. In the FormTemplate there is a TextBox (txtMyValue) and another RadGrid (radgrid2) which has set EditMode to InPlace. When radgrid2_updatecommand is firing, i want to update txtMyValue.Text. How can I reference txtMyValue from radgrid2?
var txtMyValue = radgrid1.MasterTableView.FindControl("txtMyValue") as TextBox -> is giving a null exception.
Anyone?
var txtMyValue = radgrid1.MasterTableView.FindControl("txtMyValue") as TextBox -> is giving a null exception.
Anyone?