Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 02, 2008 04:27 PM|LINK
@vecalion - Yes, this is exactly what I mean.
@maartenba - Thanks, thats an interesting use of the Action Filter attribute. It can't be used with this issue though, as the exception is thrown before OnActionExecuted fires. Perhaps there should be a generic way of dealing with this exception? Maybe an
OnActionParameterError with a FilterExecutingContext and some container for the parameter errors.
Having posted the question, however, I'm struggling to think of a scenario where this would actually get used. You'd normally do as ricox said and just deal with the error via the application error handler and make sure your application only generated valid