I am trying to pass a form element into an MVC3 view by using the Viewbag and simply write the HTML to the page ...
In controller:
ViewBag.myData = \
This should do the job
@Html.Raw((String)ViewBag.myData)
MSDN: This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.
You need to be careful with accepting and displaying un-encoded HTML.