views:

348

answers:

1

Does anyone have an alternative to the RenderAction HtmlHelper seeing as it's gone in RC1.

I need to render a user control but use a different controller to populate the user control view.

How might this work now?

+8  A: 

Use the Microsoft.Web.Mvc namespace (known as MVC Futures) found in at http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=22359

It includes a HtmlHelper method (Html.RenderAction) which calls an action on a different controller.

JMs