Question: How would I fix it to a DropdownList preselect in my create.cshtml? I need this: But I am getting this. How would I fix this?
How would I fix it to a DropdownList preselect in my create.cshtml?
I need this:

![Justice For All ...And Justice For All [1997] Black Light Syndrome 20th](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/02/65c371d9c9f34_48165c371d9aa135.jpg)
How would I fix this? The button works but I'm not sure how to have this in a list format. This is what I have in my code:
@Html.LabelFor(model => model.AlbumList, htmlAttributes: new { @class = "control-label col-md-2" })
@Html.DropDownList("Album", Model.AlbumList, htmlAttributes: new { @class = "form-control", size = 10 })
@Html.ValidationMessageFor(model => model.AlbumList, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.MediaTypeList, htmlAttributes: new { @class = "control-label col-md-2" })
@foreach(var term in Model.MediaTypeList)
{
}
@Html.ValidationMessageFor(model => model.MediaTypeList, "", new { @class = "text-danger" })
ack to List Length (ms) UnitPrice Album Media Type 0 0.00 ...And Justice For All ...And Justice For All [1997] Black Light Syndrome 20th Century Masters - The Millennium ( A Copland Celebration, Vol. I A Matter of Life and Death A Real Dead One A Real Live One A Soprano Inspired A Tempestade Tempestade Ou O Livro C Ace Of Spades O AAC audio file O MPEG audio file O Protected AAC audio file O Protected MPEG-4 video file O Purchased AAC audio file Create
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
