Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

html tag inside razor tag

You could use @: to escape:
@if(Model.foo)
{
    @:Hello World
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #tag #razor #tag
ADD COMMENT
Topic
Name
9+9 =