The title pretty much states my question.
I have a view (say, Action1
) in a controller (Foo
) and another view (Action2
) in another controller (Bar
). In Action1
view, I want to use Html.Partial
or Html.RenderPartial
to call Action2
's view.
I am aware of that I can use Html.RenderAction
in Action1
, but that will (I think) create the Bar
controller and go through the whole controller/action resolution cycle, and I don't want that, as this may be less efficient.
So, my goal is that I want to reuse the Action2
's veiw. How can I achieve this?