As of now, dropdown is like this. I want to populate options from database instead of typing. How to do this ? We are using Kendo UI.
<td>
<label for="ln" class="lblTask">Type</label><br />
<select name="type" data-bind="value:type" style="color:black">
<option>CM</option>
<option>CTA</option>
<option>ESP</option>
</select>
</td>
try this:
In view
In Model
Let me know.If it helps.
Considering that your action return jason value as
[{ name: "CM", value: 1 },{ name: "CTA", value: 2 },{ name: "ESP", value: 3 }]
in Controller
i hope this will help you