Creating and Outputting Reports in Web Form
The method that triggers the parsing of the DPLX file, the creation of the PDF report and the outputting of that PDF to the current System.Web.UI.Page is the DrawPdfToWeb method. See Using a DPLX file from a Web Form for more on associating a DPLX file with a Web Form. For creating and outputting a report from within a non Web Form example see, Using a DPLX File.
The following code example demonstrates how to create the PDF based on the DPLX file and output it to the web:
public class DplxWebExample : ceTe.DynamicPDF.ReportWriter.DplxWebForm
{
private void Page_Load(object sender, EventArgs e)
{
DrawPdfToWeb("NewReport.pdf");
}
}
Public Class DplxWebExample
Inherits ceTe.DynamicPDF.ReportWriter.DplxWebForm
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
DrawPdfToWeb("NewReport.pdf")
End Sub
End Class