basically im calling Html.TextAreaFor to display the form, which is a big / no problem ...
people enter text into it and it is sent, and if it is successful, I want to return an empty Html.TextAreaFor ... but after sending it in the action method, I can set a comment that people produce an empty string "" in TextArea, however when loading it always has the text from the previous download file.
I load everything in ajax, just updating the Div ... and so that everything is fine, I have (as text) the usual Html.TextArea, where I specify the name and value. Html.TextArea is directly below Html.TextAreaFor and acts exactly as it should, but Html.TextAreaFor is for some reason not!
This is strange because I reload the entire DIV that contains the form from PartialView when submitting evey !!
im also making sure the div loads with the typical system.datetime.now string returned by everyone and the mentioned Html.TextArea works as it should, it makes me go crazy ... am I missing something? are there any special properties ... for this i have to know?
source
share