March 25, 2010 at 10:09 am
Hi All,
I have Custom toolbar which contains print and preview for my reportviewer control.
My Requirement is i must be able to print the report directly if i click the Print Button in Custom Toolbar and if i click preview only preview of the report should come.
Can any one help me in this.
Thanks in Advance.
Regards
T.Siva
March 28, 2010 at 8:58 pm
To print the report directly from aspx page
<script type="text/javascript">
function Print()
{
RSClientPrint.MarginLeft = 12.7;
RSClientPrint.MarginTop = 12.7;
RSClientPrint.MarginRight = 12.7;
RSClientPrint.MarginBottom = 12.7;
RSClientPrint.Culture = 1033;
RSClientPrint.UICulture = 9;
RSClientPrint.Print('http://localhost/reportserver', '/ReportFolder/Report1', 'TestReport')
}
</script>
March 29, 2010 at 10:01 am
Hi, Thanks for Your Reply.
What i need is to Print The Reports with out any preview.I have Print Button In my custom toolbar if i click that button it has to print the reports with out any preview.
But RsclientPrint Activex Control again Works as the same way as Reportviewer Print Control.
I need Print Function with out any preview.
Thanks in Advance!!
Regards
T.Siva
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply