If I have say a Partial View called MypartialView and I have a HTML Helper called "MyHTMLHelper" how can I return a partial view from the helper?
My requirement is that sometimes I d like to render a PartialView on it s own and other times I d like to render it with another partial view, or a slab of text or something.
So I thought I could create a helper that return both partial views, and a html helper that would return the partial view along with a slab of text.
is this best practice or should i instead create a partial view that has both partials in it and another that has a the partial view + the slab of text?
I m not only looking for source but also the best practice according to what people are doing.
thanks.