Hi
I need to find a combobox inside a gridtableview inside the detailtables when the grid is in insert and edit mode. I am using a formtemplate. I have managed to get my controls inside the mastertableview using the following code. All of this needs to happen outside of the grid when I click a button.
Thank you
Fred
I need to find a combobox inside a gridtableview inside the detailtables when the grid is in insert and edit mode. I am using a formtemplate. I have managed to get my controls inside the mastertableview using the following code. All of this needs to happen outside of the grid when I click a button.
if (hdLineItemRow.Value == string.Empty) { cbo = (RadComboBox)radGrid.MasterTableView.GetInsertItem().FindControl("cbo"); } else { int itemIdex = Convert.ToInt32(hdLineItemRow.Value); cbo = (RadComboBox)radGrid.MasterTableView.Items[itemIdex].EditFormItem.FindControl("cbo"); }Thank you
Fred