I'm new to .net and new to aspmaker.net. What I need to do is put a button on the view page that will execute the following code but I struggling with this process if anyone could point me in the right direct it would be greatly appreciated.
Here is the third party code
void Page_Load(Object Source, EventArgs E)
{
// Create instance of the PDF manager.
PdfManager objPDF = new PdfManager();
// Create new document.
PdfDocument objDoc = objPDF.CreateDocument();
// Specify title and creator for the document.
objDoc.Title = "AspPDF Chapter 3 Hello World Sample";
objDoc.Creator = "John Smith";
// Add a page to document.
PdfPage objPage = objDoc.Pages.Add();
// Obtain font.
PdfFont objFont = objDoc.Fonts["Helvetica"];
// Draw text using this parameter string:
string strParams = "x=0; y=650; width=612; alignment=center; size=50";
objPage.Canvas.DrawText("Hello World!", strParams, objFont);
// Save, generate unique file name to avoid overwriting existing file.
string strFilename = objDoc.Save(Server.MapPath("hello.pdf"), false);
txtResult.Text = "Success! Download your PDF file <A TARGET=_new HREF=" + strFilename + ">here</A>";
}