Model bound properties appear to set values in partial response
Closed this issue · 2 comments
sreedy commented
sreedy commented
This test was run against the Entry page, and I submitted the form with a Name = test and Age =1.
I tried to modify the response to set the value to Name = "ModifiedOnPost" and Age = 10000 in the OnPost method. The change appears to be made, but when the response gets to the browser the initial values are returned.
sreedy commented
You can avoid this by calling:
PageContext.ModelState.Clear();