Hi Luis,
Thanks, that's very helpful, but for a colorful report to do that, woh!.
Is there a way that i can disable the Print Report and Paper Setting icons, and pass the values to those parameters pragmatically through come textbox or combo.
Regards,
Sohail Kazmi.
Hi Sohail,
Let me know if you have any further questions.
For removing the print icon and page settings icon you will need to access the ToolBarSettings property in the XamReportViewer. Inside this class are properties for PrintVisibility and PageSettingsVisibility. Changing the visibility on these properties should get you the results you want.
ToolBarSettings Properties Documentation:http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=InfragisticsWPF4.Controls.Reports.v11.2~Infragistics.Controls.Reports.ToolBarSettings_properties.html
This link to the documentation will help you out with changing paper settings and printing a report programmatically: http://help.infragistics.com/NetAdvantage/reporting/2011.2/CLR4.0?page=How_to_Print_a_Report_Programmatically_using_WPF.html
I am looking into how to disable the icons and I will get back to you tomorrow.