Welcome Guest Search | Active Topics | Sign In | Register

ASPXToPDF Options
Bernhard Kaufmann
Posted: Saturday, March 23, 2013 3:24:27 AM
Rank: Newbie
Groups: Member

Joined: 3/22/2013
Posts: 6
Code: C#
I have an aspx page with some textboxes and a button. When clicking on that button the aspx page should be converted into pdf but the button should not be present in the pdf. Is this possible?
Or is it possible to have only a control rendered as PDF, then I can place all the data which needs to be in a asp panel and the button outside the panel, this way I can just render the panel to be sent for PDF.
eo_support
Posted: Saturday, March 23, 2013 8:42:39 AM
Rank: Administration
Groups: Administration

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

You can just set the button's Visible to false before you call RenderAsPDF.

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.