Cache inferno - how can Model.A be two different things at the same time?

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-04-08T10:01:48Z Indexed on 2010/04/08 10:03 UTC
Read the original article Hit count: 301

Filed under:
|
|

I have this

<%=Model.StartDate%>
<%=Html.Hidden("StartDate", Model.StartDate)%>

it outputs:

 2010-05-11 11:00:00 +01:00      
 <input type="hidden" value="2010-03-17 11:00:00 +01:00" name="StartDate" id="StartDate"> 

What the...

It's a paging mechanism so the hidden value was valid on the first page and I've been able to move forward to the next page. But since the values won't update properly it ends there.

What do I need to do.

Using firefox.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about forms