or
DataTable table = new DataTable();table.Columns.Add("Name", typeof(string));table.Columns.Add("From", typeof(double));table.Columns.Add("Milestone", typeof(double));table.Columns.Add("To", typeof(double)); for (int i = 0; i < names.Count; i++){ DataRow row = table.NewRow(); row["Name"] = names[i]; row["From"] = startDates[i].ToOADate(); row["To"] = endDates[i].ToOADate(); if (startDates[i] == endDates[i]) row["Milestone"] = startDates[i].ToOADate(); table.Rows.Add(row);} return table;Dim subReport As Telerik.Reporting.Processing.SubReport = TryCast(sender, Telerik.Reporting.Processing.SubReport) Dim processingTable As Telerik.Reporting.Processing.Table = TryCast(subReport.Parent, Telerik.Reporting.Processing.Table) Dim dataRow As System.Data.DataRowView = TryCast(processingTable.DataObject, System.Data.DataRowView) If dataRow IsNot Nothing Then MastDetails1.SignId = CInt((dataRow("SignItemId"))) End IfHi,
I am using Telerik Reports Q2 2011 with Silverlight 4. I added an empty chart in a report without specifying a DataSource and with Default Type “Pie”. I assigned a Chart Series to this chart in NeedDataSource Event. In this way, chart successfully created and loaded in silverlight report viewer. But, whenever I try to export that report in any format I get an empty chart in the resulting file with the message “There is no or empty series”. Please, suggest a possible solution for this.
Thanks!
Adil