I am new to MVC.
I have a string that I built from a controller called parsedCustomerNames. In web forms I can make the placeholder visible from the codebehind and then populate a control with the string.
How would I be able to do this in MVC.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe parsedCustomerNames is a coma separated list of customers (As opposed to a collection). You can do it like this in ASP.NET MVC:
Suppose, following is your controller:
And then inside your view, do the following: