Solved

Add button column to RDLC report file?

Posted on 2012-03-28
1
815 Views
Last Modified: 2012-08-13
Hi,

I've got a ReportViewer that loads a certain report.  I would like to add a column to this report that will hold a "View Item" button.  When this button is clicked, it will open a new window that will display the full record from this row in the report.

I found out that it is possible to add a hyperlink column to a report, but I would prefer to use a button so that I have access to an Button_Click method where I can do a few other things in the code.

Is it possible to add a button like this to an rdlc report file?  If so, what is the best way to accomplish this?

Thank you in advance.

Environment: C#.NET 4.0, Webforms
0
Comment
Question by:adskarcox
1 Comment
 

Accepted Solution

by:
adskarcox earned 0 total points
ID: 37796394
I ended up just adding a link to the report column as described here:

http://weblogs.asp.net/rajbk/archive/2010/05/12/adding-a-hyperlink-in-a-client-report-definition-file-rdlc.aspx

I would have preferred to be able to use a button, however, so that query string variables would not have had to be used.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now