I have designed the report trdp file using the designer and added web service as data source.
My plan is, when the report will be requested, instead of the web source, I want to pull the data using linq and want to inject that data in the report data source and want to pass it through the report processor.
What I have done is:
``

```
        var rng = new Random();
        var datas = Enumerable.Range(1, 100).Select(index => new WeatherForecast
            {
                Category = Summaries[rng.Next(Summaries.Length)],
                Date = DateTime.Now.AddDays(index),
                TemperatureC = 1
            }).ToList();

        DataTable dataTable = Newtonsoft.Json.JsonConvert.DeserializeObject<DataTable>(Newtonsoft.Json.JsonConvert.SerializeObject(datas));
        Telerik.Reporting.Report report = null;
        using (var sourceStream = System.IO.File.OpenRead("Reports\\DemoReport.trdp"))
        {
            var reportPackager = new ReportPackager();
            report = (Report)reportPackager.UnpackageDocument(sourceStream);
            var dtsrc = new ObjectDataSource();
            dtsrc.DataSource = dataTable;
            report.DataSource = dtsrc;
        }

        Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
        System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
        Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", report, deviceInfo);

        var fileName = "adreport.pdf";
        using (FileStream fs = new FileStream(fileName, FileMode.Create))
        {
            fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
        }
        return Ok();

```

``

This generates the report but instead of a few pages, the generated pdf report contains a few hundreds of page with the same data repeatedly which is unusual. Can anyone explain why this is happening.