c# - Razor output in Json object -


how can return output of razor in json object? example, want this:

actionresult res = partialview(new home("text")); res.executeresult(); 

and take whatever previous code produces , put model , pass model action method's partialview() helper.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -