I currently have a RadGrid control, with a GridDropDownColumn as one of the columns referring to another table in my database structure. See here:
It's working great, but I wanted to know if there was a way to concatenate the ListTextField using two fields from the datasource? Using the OptionCategoryId and Name to display something similar to the following in the dropdown:
123 - Option1
234 - Option2
Any assistance would be appreciated.
By the way, I'm using OpenAccess as my DAL.
<telerik:GridDropDownColumn DataField="OptionCategoryID" DataType="System.Int32" HeaderText="Option Category" |
UniqueName="OptionCategoryID" DataSourceID="getOptionCategories" ListTextField="Name" ListValueField="OptionCategoryID"> |
</telerik:GridDropDownColumn> |
123 - Option1
234 - Option2
Any assistance would be appreciated.
By the way, I'm using OpenAccess as my DAL.