Link Details

Link 962607 thumbnail
User 225256 avatar

By mswatcher
via codeproject.com
Published: May 02 2013 / 09:49

This article quickly demonstrates how to show raw HTML markup inside a razor's @Helper method, using another @Helper object on some .cshtml razor website page.  This solution solves the issue of trying to put large markup into a single string variable, allowing instead to quickly pass RAW markup.  Using this solution, you can create 'Template' like HTML markup solutions, which can be reused within you website.
  • 6
  • 0
  • 677
  • 460

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)



Voters Against This Link (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java