ActivePages
ActivePages Context is a class that provides you with quick inline access to all Active Pages created on the Magentrix platform. Use this class when you need to use an alternative View in response to a user's request, using the example below:
public class InvoiceController : AspxController
{
public override ActionResponse Index()
{
var invoice = Database.Retrieve(id);
return View(invoice);
}
public ActionResponse Print(string id)
{
var invoice = Database.Retrieve(id);
return View(ActivePages.PrintInvoice, invoice);
}
}