@MvcHtmlString.Create("<a href=""" + blogComment .UserBlogUrl + """>" + blogComment .UserBlogUrl + "</a>" )
Asked
Active
Viewed 71 times
-2
2 Answers
2
Why are you not doing:
<a href="@blogComment.UserBlogUrl">@blogComment.UserBlogUrl</a>
Instead?

Kirk Woll
- 76,112
- 22
- 180
- 195
1
Which version of .net are you on? Is it .Net 4.0. Have you considered using Html.ActionLink

Community
- 1
- 1

WorldIsRound
- 1,544
- 10
- 15