This is a migrated thread and some comments may be shown as answers.

Reprot Binding

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sriram
Top achievements
Rank 2
Sriram asked on 22 Nov 2012, 10:07 AM
Hi Telerik Team

How to Add Report Binding PageSetings to ReportParameter

or PageSettings.PaperKind to PaperKind Report Papameter...

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Nov 2012, 12:00 PM
Hi Sriram,

Generally the report parameters are only working with generic types (DateTime, string, int, float, bool). Thus in order to set up a binding for the PageSettings or PageSettings.PaperKind properties to a report parameter you have to add an user function that will convert the generic report parameter to appropriate type for target property. In case of the PageSettings property your user function should return Telerik.Reporting.Drawing.PageSettings  and in case of PageSettings.PaperKind your user function should return PaperKind.

All the best,
Peter
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Sriram
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or