Thanks for the concept, we have implemented in below manner.
public ActionResult Index()
{
bm = bd.GetBMCs(5);
//using static class VersionControl to get components for user
return View(VersionControl.GetComponent(HttpContext.User.Identity.Name, ComponentName.RangePlanConfigSelection), null, bm);
}
Its working !
AnilKr
Marked as answer by akfkmupiwu on Apr 12, 2012 12:48 PM
akfkmupiwu
Member
204 Points
78 Posts
Re: Rendering views dynamically
Apr 12, 2012 12:48 PM|LINK
Thanks for the concept, we have implemented in below manner.
public ActionResult Index() { bm = bd.GetBMCs(5); //using static class VersionControl to get components for user return View(VersionControl.GetComponent(HttpContext.User.Identity.Name, ComponentName.RangePlanConfigSelection), null, bm); }Its working !