Author: aschwin.nijssen | Posted on: 9/29/2009 6:13:26 AM | Views : 308

 Hi all,
I'm trying to add a pagebreak after a dynamicly generated HTML  table in the page_load event
protected void Page_Load(object sender, EventArgs e) { HtmlTools htmlT = new HtmlTools(); HtmlTable tbl = htmlT.make_table(24, 2, "800", 0); form1.Controls.Add(tbl); form1.InnerHtml +=("<p style=\"page-break-before: always\">Text for the next page </P>"); } This gives me the folowing error
Cannot get inner content of form1 because the contents are not literal.
What am I wrong here?
Thanks for the reply in advance.
AN

 
...

Go to the complete details ...