Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Load View programmatic in controller action

$
0
0

Hi!

I want to load and process a View programmatic from a controller and read the generated html as a string.

Something like: string html = FunctionToLoadView("MyViewName.cshtml");


Is this possible??


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>