asp.net mvc 3 - MVC ActionMethod Controller events? -
is there event fired prior action method being called in controller? have common 'page control' specific variables passed client server in acton methods , benefit hanlder allow me retrieve these values , map them own data structures before action method executed. kind of viewstate mechanism.
j.
is there event fired prior action method being called in controller?
you override onactionexecuting
method. more reusable solution write custom action filter , decorate controllers/actions or declare global action filter applies controllers , actions in application.
Comments
Post a Comment