I understand that fields like Html.TextBox () take two values, the first of which is a name and the second is a value. And Html.TextArea (). But in the case when the form is presented as AJAX, and the div where the form is located is replaced by the view from the server, the form fields insist on the adoption of the previous values. An image is worth a thousand words:
image http://img132.imageshack.us/img132/4171/aspnetmvcbug.png
I checked everything on the controller, and the model and image came from debugging the view itself. The model is empty, but the fields created from it take on the value of the previous view.
source
share