@Html.Raw(ViewData["name"].ToString())
Showing posts with label MVC. Show all posts
Showing posts with label MVC. Show all posts
30 July 2014
How to read html code from viewbag in mvc3 view
@Html.Raw(ViewBag.data)
(or)
@Html.Raw((String)ViewBag.Data)
(or)
@Html.Raw((String)ViewBag.Data)
Subscribe to:
Posts (Atom)