i have strongly typed View, custom template for properties of string type, i should change value
// model
class Person
{
public string Name { get; set; }
}
// view
@model Person
<div>
@Html.EditorFor(m => m.Name)
</div
//custom template view
@model System.String
@Html.TextBox(string.Empty, Model.ToUpper())
but it doesn't work — i get old Name value, not changed
NEW
i forgot important detail — Name property get value from query string in URL —
http://localhost:53494/?Name=blah