Hi
No. Validators are completely separate from mvc, and have no knowledge of any mvc-specific items such as controllers or tempdata. The only thing that the validator sees is the object being passed to it for validation, so you could copy the items you need from tempdata into properties on the model. These could then be accessed from within the validator.
Jeremy
No. Validators are completely separate from mvc, and have no knowledge of any mvc-specific items such as controllers or tempdata. The only thing that the validator sees is the object being passed to it for validation, so you could copy the items you need from tempdata into properties on the model. These could then be accessed from within the validator.
Jeremy