I am new to the Telerik platform and am building an edit form in a RadGrid populated via data entity with code behind needDataSource.
In the EditFormSetting I call a UserControl Form which renders the edit form when you click the edit record link. The edit form has 2 GradDropDownLists that are populated via data entity as well. When the edit form opens all the data from the data base is pulled in and fills the text boxes with the correct data using ASP code shown below.
The problem is the 2 DropDowns do not show the selected values from the database, the selected value shows the first item in the database table for the DropDown list.
How can I get these 2 DropDowns to display the database values ?
Thanks for any help