How can I populate the
But the contents of the dropdown can change depending on a selection elsewhere on the page, so Id like to be able to set the datasource using c#
GridDropDownColumn in my codebehind (c#), ive found examples where the datasourceid is set in the aspx page like this
| <telerik:GridDropDownColumn |
| UniqueName="DropDownListCategory" |
| ListTextField="Category" |
| ListValueField="Category" |
| DataSourceID="SqlDataSource2" |
| HeaderText="Category" |
| DataField="Category" |
| DropDownControlType="RadComboBox" |
| AllowSorting="true"> |
| </telerik:GridDropDownColumn> |