i am doing an ajax call and i refresh a partial view. Inside the partial view i have this:
<%=Html.TextBox("instance.Id", Model.Id)%>
when i put a breakpoint here over Model.Id it has a number in it but after the ajax refresh is done the textbox just shows up with a 0. When i do a full browser refresh, the correct number shows up in the textbox.
when i use firebug to look at data in my callback i see this:
<input id="instance_Id" name="instance.Id" type="text" value="0" />
Everything else in the partial view refreshes fine.
any ideas on what could be going wrong here?