Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151331 | Feb 7,2020 05:12 AM UTC | Feb 10,2020 08:53 AM UTC | ASP.NET Web Forms (Classic) | 1 |
![]() |
Tags: PDF |
//Set print media type
settings.MediaType = MediaType.Print; |
<style type="text/css">
@media print {
#exportButton {
display: none;
}
}
</style>
<div id="exportButton">
<asp:Button Width="150px" Style="margin-left: 3px;" data-exclude="true" ID="Button1" Height="27px" runat="server" OnClick="Button1_Click" Text="Download Report" />
</div> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.