![]() |
|
|
|||||||
![]() |
ASP Net - ASP.NET DataList control call rdlc Reportviewer report |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hello Community
I have an web application and I am using a DataList control. When a row in the DataList control is selected I want to populate the rdlc Reportviewer report. Can anyone tell me how I can make the selected row on the DataList control call the rdlc Reportviewer report? Thank you in advance Sharon Sharon |
|
|
|
|
#2 |
|
Posts: n/a
|
On Nov 6, 1:36*am, Sharon <Sha...@discussions.microsoft.com> wrote:
> Hello Community > > * * I have an web application and I am using a DataList control. *When a row > in the DataList control is selected I want to populate the rdlc Reportviewer > report. *Can anyone tell me how I can make the selected row on the DataList > control call the rdlc Reportviewer report? > > * * Thank you in advance > * * Sharon Assign an OnItemCommand handler to Sub Item_Command(sender As Object, e As DataListCommandEventArgs) ..... ' Get the datakey for selected item Dim id As Integer = Convert.ToInt32(dlResults.DataKeys (e.Item.ItemIndex).ToString()) ' Get data for the report and attach datasource to a ReportViewer control ..... End Sub See more Binding Data to the ReportViewer Control Dynamically in ASP.NET 2.0 http://www.aspfree.com/c/a/ASP.NET/B...n-ASPNET-20/1/ DataList.ItemCommand Event http://msdn.microsoft.com/en-us/libr...command.asp x Alexey Smirnov |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vb .net web page error before page_Init with IE6 | BoogieWithStu22@gmail.com | Computer Support | 97 | 02-21-2007 06:00 PM |
| displaying only current month dates asp.net calendar control | prasanthamohan | Software | 0 | 07-18-2006 07:43 AM |
| Port Assignment- OT in a Small Way | Tracker | Computer Security | 21 | 09-07-2003 08:09 PM |