This is a migrated thread and some comments may be shown as answers.

subreport datasource

1 Answer 238 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 05 Oct 2012, 03:25 PM
hi, i got a problem with a subreport, i want to set datasource on needdatasource method, this works fine on Q1 2012 but i just migrate my report and it doesnt work my code that used to work is
Telerik.Reporting.Processing.
 
ReportItemBase item = (Telerik.Reporting.Processing.ReportItemBase)sender;
 
int idQueja = (int) item.DataObject["idQueja"];
 
  
 
cNQueja ocNQueja = new cNQueja(idQueja);
 
ocNQueja.Load();
 
denunciadosReport.ReportSource.DataSource = ocNQueja.ListaDenunciado;

i need to set the datasource on needdatasource of my subreport
thanks

Alberto

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Oct 2012, 08:13 AM
Hello Alberto,

Since the introduction of the new Report Sources things had to change for the better. See the following links for more information how to proceed with the latest version:
Kind regards,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Christian
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or