Skip to content
This repository has been archived by the owner on Nov 23, 2018. It is now read-only.

henkmollema/MvcPartialViewToString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MvcPartialViewToString

Small code example to render a partial view to a string with ASP.NET MVC.

There are two files available:

  • BaseController.cs: this file contains an instance method (protected) and can be added to your own base controller class if you have one.

  • ControllerExtensions.cs: this file contains an extension method for the Controller class.

Both files do exactly the same thing, just a different way to call the RenderPartialViewToString method.

About

Small code example to render a partial view to a string with ASP.NET MVC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published