Solved

Add button column to RDLC report file?

Posted on 2012-03-28
1
882 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

628 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