Render User Controls and call their Page_Load
- by David Murdoch
The following code will not work because the controls (page1, page2, page3) require that their "Page_Load" event gets called.
using System;
using System.IO;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using iTextSharp.text;
using iTextSharp.text.html.simpleparser;
using iTextSharp.text.pdf;
public partial class…