MVC 3 - Html.EditorFor seems to cache old values after $.ajax call

前端 未结 5 1843
一整个雨季
一整个雨季 2020-11-27 14:09

This is a follow on from the following question:

MVC 3 + $.ajax - response seems to be caching output from partial view

There is a detailed description of th

5条回答
  •  余生分开走
    2020-11-27 14:59

    Make sure you're not doing this:

    @Html.EditorFor(model => model.Transaction.TransactionDate.Date)
    

    I did this, and the model never got the value back. It worked perfectly once I remove the .Date.

提交回复
热议问题