Hi,
I am using kendo dropdown for updating Status in my database, but when i open my popup page I dont get the default value from the database in my dropdown,
here is the dropdown I am using
@(Html.Kendo().DropDownListFor(model => model.Status)
.Name(
"Status")
.DataTextField("Text")
.DataValueField("Value")
.BindTo(
new List<SelectListItem>() {
new SelectListItem() {
Text =
"Active",
Value =
"true"
},
new SelectListItem() {
Text =
"InActive",
Value =
"false"
}
}
)
)