Kumar AU

Kumar AU

  • 1.4k
  • 309
  • 61.9k

I am unable to display dropdownlist in MVC4

Mar 26 2017 5:29 PM
Dear All,

In my Project (ATM Tiller machine) I am trying to display a drop down list, but its displaying in grid format, because in my current project all dropdown displaying in grid/table format only, because these ddl are having very less records.

But I want i display dropdownlist with 100 records, so Table/Grid format is not possible, could you please help me how to display dropdown using MVC4.since ATM screen size is small hence they are displying in Grid format.
XX.cshtml code:-
var listBankNames = GetDropdownData(Model.AvailableBankList);
@Html.DropDownListFor(model => model.Bankname.Value, listBankNames, "", null)
At present result is showing as Grid format, But I need dropdownlist.

Attachment: Untitled.zip

Answers (1)