Welcome Guest Search | Active Topics | Sign In | Register

Regarding Aspx to pdf Options
boyapati
Posted: Thursday, April 12, 2012 3:58:08 PM
Rank: Newbie
Groups: Member

Joined: 4/12/2012
Posts: 4
Hi,

I am using aspxtopdf to convert my webpage to pdf. But in that pdf file I want to remove the master page which is present in the webpage.Please help me to do that.

Thanks
Boyapati
eo_support
Posted: Thursday, April 12, 2012 4:16:18 PM
Rank: Administration
Groups: Administration

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

You do whatever you do to remove your master page in your web application, not on the HTML to PDF converter. Try to think the HTML to PDF converter as a browser. For example, if you were just programming your web application and you wish a button to disappear on screen, you’d probably set that button’s Visible to false. As a result, if you want the same result in your PDF file, you do exactly the same setting that button’s Visible to false. The key is, whatever you want to show in your PDF file, you get it showing on your screen first. Once you are there, you call RenderAsPdf and you are done.

Thanks
boyapati
Posted: Thursday, April 12, 2012 4:23:12 PM
Rank: Newbie
Groups: Member

Joined: 4/12/2012
Posts: 4
Hello,

i don't want to remove the masterpage in my asp.net webapplication. But I want to delete the master page from the pdf. so how can i do this.
eo_support
Posted: Thursday, April 12, 2012 4:33:24 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Our previous reply has already explained very clearly to you how it works. Please do not repeat the same question again. You will not get a different reply just because you don't want to do something.

Thanks
boyapati
Posted: Thursday, April 12, 2012 4:40:52 PM
Rank: Newbie
Groups: Member

Joined: 4/12/2012
Posts: 4
In my application i have the master page. when I use aspx to pdf converter the rendering is not proper and it is not applying the css properties properly. thats why I am trying to remove the master page from pdf. But I don't want to remove it from my solution.Is there is any way to do that.

Thanks
eo_support
Posted: Thursday, April 12, 2012 4:57:40 PM
Rank: Administration
Groups: Administration

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

You just keep missing the point here. The key is:

Whatever you want to show in your PDF file, you get it showing on your screen first.

We will not give you anything else that departs from this rule. We have made this very clear to you in our first reply. Why do you just keep missing it? You need to read and follow what we tell you. Otherwise there is no point for us to tell you anything at all.

If you observed anything that is not consistent with this rule, such as your CSS style is missing, then that's wrong and we can then go from there. However before that you need to demonstrate you can follow us first. If you just keep ignoring or unable to understand what we tell you, then there is virtually nothing we can do for you and in that case we will just ignore further questions from you.

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.