I have code like this
In this code I add "RadComboBox1" to FilterTemplate on GridBoundColumn name "ชื่องาน" on Design page on aspx
but I don't want to add this control like this. I want to add this control using Code Behind help me please.
<Columns> <telerik:GridBoundColumn DataField="TaskID" HeaderText="taskID" UniqueName="TaskID" Visible="False"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="TaskName" HeaderText="ชื่องาน" UniqueName="TaskName"> <FilterTemplate> <telerik:RadComboBox ID="RadComboBox1" Runat="server" ShowToggleImage="False" Skin="Vista" AutoPostBack="True" MarkFirstMatch="True" EnableLoadOnDemand="true" onitemsrequested="RadComboBox1_ItemsRequested" onselectedindexchanged="RadComboBox1_SelectedIndexChanged"> </telerik:RadComboBox> </FilterTemplate> </telerik:GridBoundColumn> <telerik:GridEditCommandColumn> </telerik:GridEditCommandColumn> <telerik:GridButtonColumn CommandName="Delete" ConfirmText="Do you want to delete this item?" ConfirmTitle="Delete" Text="Delete" UniqueName="column1"> </telerik:GridButtonColumn> </Columns>In this code I add "RadComboBox1" to FilterTemplate on GridBoundColumn name "ชื่องาน" on Design page on aspx
but I don't want to add this control like this. I want to add this control using Code Behind help me please.