Hello,
I am implementing project using asp.net mvc 4 platform. I have used telerik report viewer in this project in order to view and export reports. The requirement is that the report needs to be exported using code and set a dynamic image in this report. There was no problem in exporting the report using code, but i am facing problem to set an image to this report dynamically to the report using code. Specifying again, this needs to be implemented using MVC 4.
The image needs to be set on certain selection e.g. if a company name is selected from list, the logo of that company would be the image to set dynamically(through code).
Someone kindly help me
Thank you,
I am implementing project using asp.net mvc 4 platform. I have used telerik report viewer in this project in order to view and export reports. The requirement is that the report needs to be exported using code and set a dynamic image in this report. There was no problem in exporting the report using code, but i am facing problem to set an image to this report dynamically to the report using code. Specifying again, this needs to be implemented using MVC 4.
The image needs to be set on certain selection e.g. if a company name is selected from list, the logo of that company would be the image to set dynamically(through code).
Someone kindly help me
Thank you,
5 Answers, 1 is accepted
0
Hi,
Please refer to my post in your other forum thread on the same topic: Setting dynamic background image while exporting report
In future, we kindly ask you to avoid posting the same question multiple times. If it is an emergency, you can submit a support ticket where the system assigns response time based on your support subscription.
Regards,
Stef
Telerik
Please refer to my post in your other forum thread on the same topic: Setting dynamic background image while exporting report
In future, we kindly ask you to avoid posting the same question multiple times. If it is an emergency, you can submit a support ticket where the system assigns response time based on your support subscription.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0

Vilesh
Top achievements
Rank 1
answered on 18 Jun 2014, 05:36 AM
Hi,
I am facing same issue. Above provided link is not working. please do the needful. let me know if you need any further information.
I am facing same issue. Above provided link is not working. please do the needful. let me know if you need any further information.
0

Vilesh
Top achievements
Rank 1
answered on 18 Jun 2014, 05:41 AM
I want to do something like this in MVC.
Me.Style.BackgroundImage.ImageData = System.Drawing.Image.FromFile("C:\DraftTransparent.png")
Is that possible to do same, in following MVC code:
@(Html.TelerikReporting().ReportViewer()
.Id(Model.ReportId)
.ServiceUrl(Model.ServiceUrl)
.TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
.ReportSource(Model.UriReportSource)
.ViewMode(ViewModes.INTERACTIVE)
.ScaleMode(ScaleModes.SPECIFIC)
.Scale(1.0)
.PersistSession(false)
)
NB: I have the license version, I appreciate if you can provide ASAP.
Me.Style.BackgroundImage.ImageData = System.Drawing.Image.FromFile("C:\DraftTransparent.png")
Is that possible to do same, in following MVC code:
@(Html.TelerikReporting().ReportViewer()
.Id(Model.ReportId)
.ServiceUrl(Model.ServiceUrl)
.TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
.ReportSource(Model.UriReportSource)
.ViewMode(ViewModes.INTERACTIVE)
.ScaleMode(ScaleModes.SPECIFIC)
.Scale(1.0)
.PersistSession(false)
)
NB: I have the license version, I appreciate if you can provide ASAP.
0

Vilesh
Top achievements
Rank 1
answered on 18 Jun 2014, 05:42 AM
I want to do something like this in MVC.
Me.Style.BackgroundImage.ImageData = System.Drawing.Image.FromFile("C:\DraftTransparent.png")
Is that possible to do same, in following MVC code:
@(Html.TelerikReporting().ReportViewer()
.Id(Model.ReportId)
.ServiceUrl(Model.ServiceUrl)
.TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
.ReportSource(Model.UriReportSource)
.ViewMode(ViewModes.INTERACTIVE)
.ScaleMode(ScaleModes.SPECIFIC)
.Scale(1.0)
.PersistSession(false)
)
NB: I have the license version, I appreciate if you can provide ASAP.
Me.Style.BackgroundImage.ImageData = System.Drawing.Image.FromFile("C:\DraftTransparent.png")
Is that possible to do same, in following MVC code:
@(Html.TelerikReporting().ReportViewer()
.Id(Model.ReportId)
.ServiceUrl(Model.ServiceUrl)
.TemplateUrl("/ReportViewer/templates/telerikReportViewerTemplate.html")
.ReportSource(Model.UriReportSource)
.ViewMode(ViewModes.INTERACTIVE)
.ScaleMode(ScaleModes.SPECIFIC)
.Scale(1.0)
.PersistSession(false)
)
NB: I have the license version, I appreciate if you can provide ASAP.
0
Hi Vilesh,
To customize reports in a project that uses the HTML5 Report Viewer and the Reporting REST Service, you can implement a Custom Report Resolver, in which Resolve method to deserialize and modify the report definition. More details about the suggested approach are available in this forum post.
As of Q2 2014 you can sent free string report's description from the HTML5 Report Viewer's MVC extension as well - Q2 104 Upgrade Path.
In future, if it is an emergency, please use our support ticketing system, which will assign a response time to your inquires based on the purchased support subscription.
Thank you for your understanding.
Regards,
Stef
Telerik
To customize reports in a project that uses the HTML5 Report Viewer and the Reporting REST Service, you can implement a Custom Report Resolver, in which Resolve method to deserialize and modify the report definition. More details about the suggested approach are available in this forum post.
As of Q2 2014 you can sent free string report's description from the HTML5 Report Viewer's MVC extension as well - Q2 104 Upgrade Path.
In future, if it is an emergency, please use our support ticketing system, which will assign a response time to your inquires based on the purchased support subscription.
Thank you for your understanding.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.