Hello,
if i have in razor this dropdownlist
@(Html.Kendo().DropDownList()
.Name("category")
.OptionLabel("Select a product...")
.DataTextField("ProductName")
.DataValueField("ProductID")
.HtmlAttributes(new { style = "width:200px" })
.DataSource(source => source.Read("ProductListData", "Controls"))
.Events(ev => ev.Change("change"))
)
how can i use in the same view, the value of the dropdownlist using razor syntax?
i was looking for something like @Html.Kendo().DropDownList("category").Value()...
Regards,
Daniel
P.S:i think i put first this same post also to Web UI\DropDownList,please excuse me.
if i have in razor this dropdownlist
@(Html.Kendo().DropDownList()
.Name("category")
.OptionLabel("Select a product...")
.DataTextField("ProductName")
.DataValueField("ProductID")
.HtmlAttributes(new { style = "width:200px" })
.DataSource(source => source.Read("ProductListData", "Controls"))
.Events(ev => ev.Change("change"))
)
how can i use in the same view, the value of the dropdownlist using razor syntax?
i was looking for something like @Html.Kendo().DropDownList("category").Value()...
Regards,
Daniel
P.S:i think i put first this same post also to Web UI\DropDownList,please excuse me.