Home Rendering Quotation Marks in a @Html.Raw() Syntax
Reply: 0

Rendering Quotation Marks in a @Html.Raw() Syntax

user535
1#
user535 Published in June 20, 2018, 1:31 am

Trying to render this syntax in a Partial View:

 @Html.Raw("<table class="table table-togglable table-hover default footable-loaded footable">") 

..but quotation marks inside html sentence are producing problem. I tried as far:

 @Html.Raw("<table class=")
 @Html.Raw("&quot;")
 @Html.Raw("table table-togglable table-hover default footable-loaded footable")
 @Html.Raw("&quot;")
 @Html.Raw(">")

the result is deplorable indeed.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.317662 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO