Call controller action from view

Is there a way to trigger an automaticliy action from aspx or ascx on asp.net mvc.1.0 Think of it as a redirect.

+3
source share
1 answer

You can take a look at Html.RenderActionthe ASP.NET MVC Futures assembly . The helper method is built in ASP.NET MVC 2.

+3
source

Source: https://habr.com/ru/post/1736458/


All Articles