I have one Asp.net MVC3 page which renders details of a Mobile. This page also hosts a comment form which is rendered using Comment model. One field named Name i.e Mobile.Name and Comment.Name is common in both the models.
In the final output I always see Comment.Name text box filled with the value of Mobile.Name. Not sure why this is happening.
Exact problem can be seen at below link.. check the comments tab
Edit Comment form is rendered using a partial view which is something like below :
@using (Ajax.BeginForm("Savecomment", new AjaxOptions() { UpdateTargetId = "FormContainer" , OnSuccess = "$.validator.unobtrusive.parse('form');" }))
{
@Html.HiddenFor(m => m.MobileId)
<div class="row">
<div class="five columns">
<label >Your name:</label>
@Html.TextBox("Name"," ")
@Html.ValidationMessage("Name")
</div>
</div>