ASP.NET MVC 3 Model Binding - ViewBag.Title clash with input of id=“Title”
There seems to be an issue with the ViewBag dynamic properties. Lets say I have: @{ ViewBag.Title = @Model.CourseName; } And then in a form on the page I have: @Html.TextBox("Title", null, new {style="width:400px;"}) Where Title is the name of a field in a database table. When the page first opens, text box with an id of "Title" takes the value of the ViewBag.Title dynamic property. I am a bit hazy on the exact details of Model Binding, but this does seem to be a bug, or if not, if it is something that occurs naturally as a result of the binding process, then it would be nice to be warned of