title: Hiddenfor not getting correct value from view model
body: <p>I have a multi-step file import process. I have a hidden form input in my view that I am trying to populate with the "CurrentStep" from the view model.</p>
  
  <pre><code>&lt;% = Html.HiddenFor(model =&gt; model.CurrentStep) %&gt;
  </code></pre>
  
  <p>CurrentStep is an Enum and I always get the default value rather than the one I provided to the view model. on the other hand this gets me the correct value: </p>
  
  <pre><code>&lt;p&gt;&lt;% = Model.CurrentStep %&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I realise I could just hand code the hidden input but I want to know: what am I doing wrong? Is there a better way to keep track of the current step between POSTs?</p>