May 18, 2012, 1:16 PM
[CLOSED] Migrating to 2: PartialViewResult
Hi,
As part of migrating to ext.net 2, I have in my MVC app some code that uses a PartialViewResult to render a view into an existing tab panel. My controller action for ext.net 1 looks like this:
Thanks
Matt
As part of migrating to ext.net 2, I have in my MVC app some code that uses a PartialViewResult to render a view into an existing tab panel. My controller action for ext.net 1 looks like this:
public ActionResult Manage(string containerId, string installLocationId, string installLocationName)
{
PartialViewResult pr = new PartialViewResult(containerId, RenderMode.AddTo, "Scu");
pr.SingleControl = false;
pr.ControlToRender = "ScuManage";
pr.WrapByScriptTag = false;
pr.ViewData["Title"] = installLocationName;
pr.ViewData["InstallLocationId"] = installId;
return pr;
}
Please can you advise how to do the equivalent in ext.net 2?Thanks
Matt
Last edited by Daniil; May 21, 2012 at 9:45 AM.
Reason: [CLOSED]