Link Details

Link 962607 thumbnail
User 225256 avatar

By mswatcher
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
  • 655
  • 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)

    Play Framework
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Akka
    2. Design Patterns
    3. OO JS
    4. Cont. Delivery
    5. HTML5 Mobile
    1. Akka
    2. JUnit/EasyMock
    3. Java Performance
    4. REST
    5. Java