@MvcHtmlString.Create("<a href=""" + blogComment .UserBlogUrl + """>" + blogComment .UserBlogUrl + "</a>" )
Asked
Active
Viewed 70 times
-2
2 Answers
2
Why are you not doing:
<a href="@blogComment.UserBlogUrl">@blogComment.UserBlogUrl</a>
Instead?
Kirk Woll
- 73,473
- 21
- 178
- 189
-
I better do that. Thank you for your reply. – Shiva Jan 26 '11 at 02:07
1
Which version of .net are you on? Is it .Net 4.0. Have you considered using Html.ActionLink
Community
- 1
- 1
WorldIsRound
- 1,524
- 11
- 15