4 Answers, 1 is accepted
0
Hello Karen,
You can use bindings to the report's PageSettings properties. The bindings can use user-defined functions as expression to transform user selection via report parameters into valid PageSetting properties values.
For example create report parameter visible to the end-user which will be the PaperSize, then use that parameter as an argument for a custom function converting the input to Telerik.Reporting.Drawing.SizeU. Use the function in a binding to the report's PageSettings.PaperSize property.
Regards,
Stef
Telerik
You can use bindings to the report's PageSettings properties. The bindings can use user-defined functions as expression to transform user selection via report parameters into valid PageSetting properties values.
For example create report parameter visible to the end-user which will be the PaperSize, then use that parameter as an argument for a custom function converting the input to Telerik.Reporting.Drawing.SizeU. Use the function in a binding to the report's PageSettings.PaperSize property.
Regards,
Stef
Telerik
Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.
0
Karen
Top achievements
Rank 1
answered on 01 Jul 2013, 10:04 PM
Thanks. Can I add this as a custom option on the toolbar in Report Viewer? e.g allow the user to select the page size from a combo box. If so how can I do it?
0
Accepted
Hello Karen,
Peter
Telerik
The easiest way is to set up a report parameter that you can directly use in the binding expression. You may find useful the How to setup a report parameter with predefined static values KB article.
Regards,Peter
Telerik
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.
0
Karen
Top achievements
Rank 1
answered on 10 Jul 2013, 09:11 AM
Thank You, very helpful!