1

I have to bind a dropdownlistfor with a List like below

 @Html.DropDownListFor(model=>model._list[0].cat_id, Model._ddlcategory, "Please Select Category", new { @class = "form-control", @tabindex = 4, @id = "ddlcategory" })

_list[0].cat_id has the value, but the dropdown list I am unable to bind. Can i know where I am going wrong?

Ashita Shah
  • 139
  • 1
  • 11

0 Answers0