IzinRaporu
rapor = new IzinRaporu(); // my report class
rapor.DataSource =
Servis.izinRaporla(Convert.ToInt32(TextBox1.Text)); // I'm creating a new SqlDataAdaptor
this.rptView.Report = rapor; // rptView is my ReportViewer control
This code works on an aspx page but it doesn't work on a user control. In user control after setting report object to the Report parameter of ReportViewer, contructor of report is called again and datasource of the report becomes null.
Do you have any idea?
Thanks.
I have a table with two columns (description, value) and I would like show description in legend and value in the Pie Chart.
How could I do this?
Thanks
I have a Telerik Reporting Q1 2008 SP1 and a report that I pass a parameter to. I have it setup to load in a RadWindow and it works great.
I would like to e-mail the report and if I hardcode the parameter in it works great.
What I can’t figure out is how to pass the parameter to the report when it generates it for e-mail.
If anyone has any suggestions I would appreciate it.
Thanks,
Brett
1 SubReport subReport = (SubReport)sender;
2 (DataRowView)subReport.DataItem
But, SubReport does not have a definition for DataItem. So it results with a compilation error.Can anyone send me the code snippet to set the Datasource of the subreport.
Thanks.