Friday, March 23, 2012

Report Viewer

I am looking for capturing Report viewer events on the web form. Can anyone tell me how to fo this?

Thanks,

S Suresh

Well what kind of events do you want to handle?

In visual studio, go to your code behind. There should be two drop boxes toward the top of the screen. One allows you to select all of the controls on your layout. Select your report viewer in this one.

The other allows you to select the event that you want to handle. Select the proper event and edit the event handler that is generated to suit your needs.

|||

Thanks for the quick response. Pointing to a sample will help me a lot. I am using ReportViewer from a sharepoint page and I dont know where to add the event handlers.

Thanks,

S Suresh

|||Oh, I thought you were using the report viewer in Visual Studio. Sorry.

No comments:

Post a Comment