populate textarea from model arraylist

Posted by user281180 on Stack Overflow See other posts from Stack Overflow or by user281180
Published on 2010-03-15T09:50:34Z Indexed on 2010/03/15 9:59 UTC
Read the original article Hit count: 285

Filed under:

I have an arraylist namelist in my model and in my view I need to fill the textarea with the values in the arraylist

          {%> 
               <%=Html.TextArea("Namelist",Html.Encode(namelist))%>
          <%}
  But i`m having the following in my textarea being dislpayed:

System.Collections.ArrayList...

How to solve this?

© Stack Overflow or respective owner

Related posts about asp.net-mvc