Hi,
I am using the grid to view a table with multiple foreign keys. Not using a view, so I want to use a bunch of lookup combos to display the human readable descriptions for each foriegn key. To do this im using a rad combo as a template item for the databound cell. My issue is that I can't seem to find how to get an instance of this control in the codebehind so I can populate the list of values for the foreign key. Any ideas on how this could be done or suggestions of how to accomplish this without using a view? Currently I am binding the data via a datatable in the NeedsDatasource event.
aspx im using to declare the combo template is below.
Thanks.
I am using the grid to view a table with multiple foreign keys. Not using a view, so I want to use a bunch of lookup combos to display the human readable descriptions for each foriegn key. To do this im using a rad combo as a template item for the databound cell. My issue is that I can't seem to find how to get an instance of this control in the codebehind so I can populate the list of values for the foreign key. Any ideas on how this could be done or suggestions of how to accomplish this without using a view? Currently I am binding the data via a datatable in the NeedsDatasource event.
aspx im using to declare the combo template is below.
Thanks.
<
Columns>
<telerik:GridBoundColumn DataField="DEPARTMENT_CODE_ID" HeaderText="Department" UniqueName="column1">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn DataField="MODULE_ID" HeaderText="Module" UniqueName="column3">
<EditItemTemplate>
<asp:TextBox ID="MODULE_IDTextBox" runat="server" Text='<%# Bind("MODULE_ID") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<telerik:RadComboBox ID="RadComboBox1" runat="server" Enabled="False" SelectedValue='<%# Eval("MODULE_ID") %>'>
<Items>