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

how to display image in picturebox which is received as string as report parameters

2 Answers 641 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peng
Top achievements
Rank 1
Peng asked on 07 Jan 2014, 10:40 PM
Hi
i want to bind the image in telerik reporting picture Box.
image is pass as string as report parameter from aspx page. code is like this

                string bmpStr = Request.Form["SigImgData"];
                var report = new DailyJobReport();
                InstanceReportSource reportSource = new InstanceReportSource();
                reportSource.ReportDocument = report;
                report.ReportParameters["Id"].Value = 109520;
                report.ReportParameters["ImageString"].Value = bmpStr;
                this.ReportViewer1.ReportSource = reportSource;

can any one help me on this plz?


2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Jan 2014, 03:52 PM
Hi Peng,

Our recommendation is to utilize user function. Pass the parameter to the user function download the appropriate image, and return the image.  Then you can set the user function as a PictureBox.Value

Regards,
Peter
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Peng
Top achievements
Rank 1
answered on 10 Jan 2014, 07:20 PM
Thanks  peter
Tags
General Discussions
Asked by
Peng
Top achievements
Rank 1
Answers by
Peter
Telerik team
Peng
Top achievements
Rank 1
Share this question
or