I have a form using various Kendo widgets (i.e. TextBoxFor, AutocompleteFor, etc) to capture data for my process. When I submit the form and try to load view with an empty version of my viewmodel, much of the content in the view is from my previous screen when I use both TextBoxFor and AutoCompleteFor. However, if I switch these to MaskedTextBoxFor everything seems to work fine.
For example, I have an Address view capturing an address with John Doe 123 Main, NYC, NY and click submit to send it to my controller. In my controller I create a new Address object and pass it back to the Address View. When the View loads and I am using TextBoxFor or AutoCompleteFor, the contents to the boxes is still John Doe 123 Main, NYC, NY. However if I change any of the fields to MaskedTextBoxFor, the correct data is displayed in the field.
Sorry if this is confusing, but I am not sure how to describe this so it makes the most sense.
For example, I have an Address view capturing an address with John Doe 123 Main, NYC, NY and click submit to send it to my controller. In my controller I create a new Address object and pass it back to the Address View. When the View loads and I am using TextBoxFor or AutoCompleteFor, the contents to the boxes is still John Doe 123 Main, NYC, NY. However if I change any of the fields to MaskedTextBoxFor, the correct data is displayed in the field.
Sorry if this is confusing, but I am not sure how to describe this so it makes the most sense.