V
vprasad859
Guest
When page gets posted, ModelState of a particular view model is false because username field of that particular model was not set (not entered) on the page. But after setting username and trying to validate model by calling TryValidateModel() but it actually return false instead of returning true.
So I want to understand why does TryValidateModel still return false when mode is modified (i.e. model updated with username value in this case)? Could you please suggest?
Continue reading...
So I want to understand why does TryValidateModel still return false when mode is modified (i.e. model updated with username value in this case)? Could you please suggest?
Continue reading...