Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Add button column to RDLC report file?

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

885 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