Welcome Guest Search | Active Topics | Sign In | Register

ASPX to PDF with Eo problems when running the code Options
Dentjavy
Posted: Wednesday, September 10, 2014 6:33:41 AM
Rank: Newbie
Groups: Member

Joined: 9/4/2014
Posts: 2
Hello and thanks for reading this.

I tried to convert my aspx page into a pdf as you show on your page.

Here is the aspx code:
<asp:Button runat="server" ID="btntest" OnClick="btntest_Click" />
<eo:ASPXToPDF runat="server" ID="ASPXToPDF1"></eo:ASPXToPDF>

And the C# code:
protected void btntest_Click(object sender, EventArgs e)
{
ASPXToPDF1.RenderAsPDF();
}

When i click the button nothing happends except my page turns compleatly white.

Can someone tell me what i can do to fix it.
eo_support
Posted: Wednesday, September 10, 2014 7:45:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

Your code looks fine. Please try to run our demo project and see if that works for you. If that works for you but in your project it doesn't work, then there might be some other module/code in your project that conflicts with ASPXToPDF. In that case you can try to compare the demo project and your project to find out the offending part. Usually it would make sense as soon as you find out what triggered the problem. If you find out what triggered the problem and it still does not make sense, please try to isolate the problem into a test project and send the test project to us. See here on how to send test project to us:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.