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



    Spring Integration
    Written by: Soby Chacko
    Featured Refcardz: Top Refcardz:
    1. Search Patterns
    2. Python
    3. C++
    4. Design Patterns
    5. OO JS
    1. PhoneGap
    2. Spring Integration
    3. Regex
    4. Git
    5. Java