HI Team,
I am using the grid with EditFormType="Template" .
and in FormTemplate i am using the rad combox .
while editing the record i need to fill that combo from the database .
i tried it on the itemCommad event of grid , how ever i didn't get the control by using the findcontrol method.
GridEditFormItem formItem = (e.Item as GridDataItem).EditFormItem as GridEditFormItem;
RadComboBox box = (formItem.FindControl("drpQType") as RadComboBox).Text;
it returns null reference for the combobox.
plz help me for this issue.
I am using the grid with EditFormType="Template" .
and in FormTemplate i am using the rad combox .
while editing the record i need to fill that combo from the database .
i tried it on the itemCommad event of grid , how ever i didn't get the control by using the findcontrol method.
GridEditFormItem formItem = (e.Item as GridDataItem).EditFormItem as GridEditFormItem;
RadComboBox box = (formItem.FindControl("drpQType") as RadComboBox).Text;
it returns null reference for the combobox.
plz help me for this issue.