[CLOSED] How to display html from the model
Hi,
we are developing a solution to create customer invoices. The invoice is generated as an HTML document. We wish to display the HTML to the user with a button for approval.
The model has a string field which contains the full html code of the invoice.
Code:
public partial class InvoiceOutput
{
public short OutputId { get; set; }
public int Quantity { get; set; }
public decimal Price { get; set; }
public string Html { get; set; }
public System.DateTime DateCreated { get; set; }
}
We have tried
Code:
X.FormPanelFor(s => s.Html)
However, we can't get the HTML to display.
What is the correct/best way to display a formatted HTML document?
Thanks
Ian