And had added a class attribute to my model class to handle the post back binding of the model. This worked fine. The following, however, I forgot about this and was trying to use the default server-side validation.
Problem: The server-side validation was not working.
Solution: Remove the custom model binder.
Reason: It was returning just an empty model object every time.
This solved a host of problems, in fact.
No comments:
Post a Comment