Is it possible to override Html.RenderAction() in ASP.NET?

23 views Asked by At

I want to send/pass some data as parameter from one .cshtml to another .cshtml page.

For example: Html.RenderAction("Action", "Controler", new{name="ABC", age=23});

https://domain/Controller/Action

[.cshtml page]

<label>Name: <label><label>@name<label><br />
<label>Age: <label><label>@age<label><br />
0

There are 0 answers