You can render a page using
var myBlock = CRM.GetBlock("opportunitylist"); Response.Write(CRM.GetTabs()); Response.Write(myBlock.Execute()); The important thing here is that the Execute() method of the block generates the HTML that is to be returned…