I've got this drop down column in a bound grid.
| <telerik:GridDropDownColumn DropDownControlType="DropDownList" CurrentFilterFunction="NoFilter" DataField="RoleId" DataSourceID="RoleDataSource1" EnableEmptyListItem="True" FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="Role" ListTextField="Name" ListValueField="Id" SortExpression="Name" UniqueName="column1"> |
| </telerik:GridDropDownColumn> |
When DropDownControlType="DropDownList" and the field value is null, the value is properly shown as empty in the column.
But when DropDownControlType="RadComboBox" and the field value is null, the first non-null value in the related data source is shown instead.
Note that this affects not only the default edit form, but also the regular read-only view. If I switch to the edit form, the DropDownList shows an empty item in the list, but the RadComboBox does not.
The effect is that when using the RadComboBox, it always looks like there's a value, even when there isn't.
Is this a bug?
Am I doing something wrong?
Is there a workaround?