Hi,
unable to bind dropdownlistfor with string array
Razor View Code :
@Html.DropDownListFor(model => model.PatientPrescriptionViewData.Prescription[i].DropDownSelected,new SelectList(Model.PatientPrescriptionViewData.RightEye_HorizontalPrism_DropDown), Model.PatientPrescriptionViewData.Prescription[i].DropDownSelected)
String Array Model Value :

Thanks in advance, please help me out.

sfx wall91 reputationPosted Oct 5, 2020, 3:53 AM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Oct 5, 2020, 6:53 AM EDT
Asma KhalidRank #160 · 14.7K reputationPosted Oct 5, 2020, 8:04 PM EDT