<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl>" %>
<% for (int i = 0; i < Model.Count; i++) {%> > <%: Html.HiddenFor(x=>x[i].Date) %> <%: Html.HiddenFor(x=>x[i].CommentBy) %> <%: Html.HiddenFor(x=>x[i].Text) %> <% } %>
Date User Name Comment
<%: HtmlUtility.Format(Model[i].Date) %> <%:Model[i].CommentBy %> <%:Model[i].Text %>
> <%: Html.TextArea("Comment", ViewData["Comment"] !=null ? ViewData["Comment"].ToString() : "", new { @class = "text-input growComments" })%> <%: Html.ValidationMessage("Comment", "", new { @class = "text-input growComments" })%>