Add Hyperlink to RDLC Report in ASP.Net

Last Reply on Aug 31, 2017 01:01 AM By dharmendr

Posted on Aug 24, 2017 04:34 AM

Dear All, 

 

 i Have a query .

 

In My Projects i would like to Insert Employee Data into RDLC Report.

 

and It is successfull.

now the Think is I would to insert Attachement with Data  into RDLC Report.

 

How can i do?

 

Please help me or send me Code.

 

Regards,

Sandip Patil 

 

Posted on Aug 24, 2017 04:44 AM

Hi sandip.AP,

It is not possible. RDLC report is for displaying report not for attaching attachment. You can display the attachment path as hyperlink in rdlc report.


Posted on Aug 24, 2017 04:47 AM

Thank you very much for your Propmpt Reply, can you give me the Suzzetions how to Add Hyperlink In RDLC Report

 

thanks in Advance

 

Sandip Patil


Posted on Aug 24, 2017 08:06 AM Modified on on Aug 24, 2017 10:58 AM

If you go to the report and click on the cell, choose "TextBox" Properties. There is an "Action" option where you can specify an hyperlink with an expression. Refer below link.

https://weblogs.asp.net/rajbk/Contents/Item/Display/87

By refering the below article i have created the sample. Based on the Contact name you need to do the task what you want ie download or display document based on the querystring value.

How to create RDLC report step by step in ASP.Net using C# and VB.Net

The report will not render because hyperlinks are disabled by default in the ReportViewer control. To enable it, add the following in your page load even.

ReportViewer1.LocalReport.EnableHyperlinks = true;

Screenshot


Posted on Aug 31, 2017 12:50 AM

Thank you very much for the Reply.

 

I am Successfully to Add Hyper Link.

 

Now i have another Query.

 

How to Merge Attachement Files into Single PDF?

 

Please giove the Suzzetions.

 

Thanks in Advanced.

 

Regards, 

Sandip Patil


Posted on Aug 31, 2017 01:01 AM

You can't ask multiple queries within a question. This is against forum rules and necessary to maintain clean forum.
It is requested Mark Answer the replies when question is answered and ask a new question as a responsible member to help fellow programmers around the world.
Note: If you don't mark answers, people will loose interest in your questions.