Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Add button column to RDLC report file?

Posted on 2012-03-28
1
Medium Priority
?
908 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

Industry Leaders: 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

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 …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

704 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