I wish to populate a List<string>
object which is completely empty initially but becomes populated in the View.
The object caters for the URL of images on the hard disk so that the system can churn and perform certain logic on them.
At the moment I am hard-coding the solution and only adding in one string:
@Html.LabelFor(m => m.ImageUrlCollection[0], "Upload Image")
@Html.TextBoxFor(m => m.ImageUrlCollection[0])
Can anyone see an obvious fix to this? Again, the List is initially empty and I do not have a maximum number for now.