This question is locked. New answers and comments are not allowed.
Hello,
im using the Dropdownlist to show some values. I want to use it in an edit view too, but im getting an error when i try to save a edited data record.
The property 'Bearbeitungsort' at 'Auftrag' could not be set to a 'null' value. You must set this property to a non-NULL value of type 'String'.
Whats wrong with my code?
Regards,
Tim
im using the Dropdownlist to show some values. I want to use it in an edit view too, but im getting an error when i try to save a edited data record.
The property 'Bearbeitungsort' at 'Auftrag' could not be set to a 'null' value. You must set this property to a non-NULL value of type 'String'.
@Html.Telerik().DropDownListFor(model => model.Bearbeitungsort)
.Name("DDLBearbeitungsort")
.BindTo((IEnumerable<SelectListItem>)View.ListeBearbeitungsort)
.SelectedIndex(View.ListeBearbeitungsortIndex)Whats wrong with my code?
Regards,
Tim