|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
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
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
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
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
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
|
|