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
  • 632
  • 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)



    Reactive Programming with Akka
    Written by: Ryan Knight
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java Performance
    5. HTML5 Mobile
    1. Java Performance
    2. Node.js
    3. Debugging JavaScript
    4. Java
    5. Java Concurrency