Trying to gather some info on how to bind the model to a RadGrid when in Edit mode for a dropdown list (or even a RadDropDownList).
I have the following markup:
My code behind as follows:
ddlType.SelectedValue = DataBinder.Eval(editItem.DataItem, "TestType").ToString();
The issue I am having is that when I changed the value in the dropdownlist and invoke an update command, the new value selected on the dropdownlist is not being propagated to the model, hence, the correct data is not being saved.
I've looked at the article in this link:
But I am not able to figure out how to bind the dropdownlist value properly.
Any suggestions or ideas would be appreciated.