ASP.NET MVC: Rendering a partial view to a string(jonkruger.com)

submitted by david_hollanddavid_holland(605) 2 years, 11 months ago

Sometimes when doing ASP.NET MVC, you want to render a view (or more likely a partial view) to a string. This post will show you how to do it.

1 comment |category: |Views: 298

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by kcraftkcraft(46) 2 years ago 0

This article no longer exists. Here is another solution: http://craftycode.wordpress.com/2010/05/15/asp-net-mvc-render-partial-view-to-string/

Reply

information Login or create an account to comment on this story