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.
Asma KhalidPosted Oct 6, 2020, 12:04 AM
Mageshwaran RPosted Oct 5, 2020, 10:53 AM
sfx wallPosted Oct 5, 2020, 7:53 AM