I\'m trying to change the emitted name of the html input created by @Html.HiddenFor.
@Html.HiddenFor
The code I\'m using this:
@Html.HiddenFor(e => e
If you use:
@Html.HiddenFor(e => e.SomeProperty, new { @id = "some_property", @Name = "some_property" });
Notice the capital "N" in @Name. It´ll work.