views:

41

answers:

1

I would like to create a HTML helper that works the same as Html.RenderPartial except I would like the partial to be rendered from ViewData or a model object and not a file on the filesystem.

example: <% Html.RenderVirtualPartial("Name", Model.MyPartialContent") %>

I can return string in my helper but i need to have code tags (ie <%= DateTime.Now %>) interpreted so assume I need do some kind of binary output stream writer?

thanks in advance

-Mark

A: 

why not add the futures and you can use renderAction, or you can render partial put pass a model over also

minus4