Why the code shown below does not render as hyperlink with asp.net mvc -
@mvchtmlstring.create("<a href=""" + blogcomment .userblogurl + """>" + blogcomment .userblogurl + "</a>" )
why not doing:
<a href="@blogcomment.userblogurl">@blogcomment.userblogurl</a>
instead?
Comments
Post a Comment