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

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

jQuery Ajax Render Fragments OR Whole Page -

javascript - Iterate over array and calculate average values of array-parts -