|
Rank: Newbie Groups: Member
Joined: 2/7/2013 Posts: 3
|
Hi,
I am currently evaluating your product. I wanted to create a pdf file from the asp.net web form and save it in a location using the file stream (system.IO) namespace.
Please suggest the right approach by using your controls.
Thanks, Kesava.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
|
Rank: Newbie Groups: Member
Joined: 2/7/2013 Posts: 3
|
Hi,
I have tried the above instructions but with the below code i am getting object reference errors:
ASPXToPDF1.RenderAsPDF(false); HtmlToPdfResult result = (HtmlToPdfResult)ASPXToPDF1.Result;
result.PdfDocument.Save("Test.PDF");
Please help.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Please read it carefully again. You get the result from the controls' AfterRender event handler.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 2/7/2013 Posts: 3
|
thanks it works. will look forward to suggest the product.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Glad to hear that! Please feel free to let us know if you have any more questions.
Thanks!
|
|