Solved

Add button column to RDLC report file?

Posted on 2012-03-28
1
870 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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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