views:

13

answers:

1

Hey,

I'm using MonoRail and want to render the same view from two separate areas. I looked at all of the RenderView overloads and none of them have an area parameter, which seems odd to me. As a workaround I could create a user control and have two separate views, but it'd be nice to know if there's a way to call a view in a different area from RenderView.

Thanks, Justin

A: 

IIRC you can pick any view by defining its path, e.g.:

RenderView("/area/controller/viewname");
Mauricio Scheffer