Hello every one ,
in this question i just want to create Telerik report with an empty table and assign table data source from code.
in output window the Telerik Report Show without table
here is my code from window form :
all this code below written in from load of reportviewerform.cs
var sourceReportSource = new UriReportSource { Uri = @"C:\Users\ali.raza\source\repos\telerick_windowform\telerick_windowform\Reports\SampleReport.trdp" };
var reportInstance = UnpackageReport(sourceReportSource);
var report = (Report)reportInstance;
Telerik.Reporting.Table processingTable = report.Items.Find("table1", true)[0] as Telerik.Reporting.Table;
//Telerik.Reporting.Processing.Table processingTable = (sender as Telerik.Reporting.Processing.Table);
this.table2.ColumnGroups.Clear();
this.table2.Body.Columns.Clear();
this.table2.Body.Rows.Clear();
Telerik.Reporting.TextBox textboxGroup;
Telerik.Reporting.TextBox textBoxTable;
string connectiostring = "server=win-dc;database=testdb;uid=hrs;password=hrs;Initial Catalog=testdb;Integrated Security= false";
string selectstring = "select * from tbl_telerik";
SqlDataAdapter sqlAdapter = new SqlDataAdapter(selectstring, connectiostring);
DataSet ds = new DataSet();
sqlAdapter.Fill(ds);
Telerik.Reporting.TableGroup tableGroupColumn;
int i = 0;
foreach (System.Data.DataColumn dc in ds.Tables[0].Columns)
{
tableGroupColumn = new Telerik.Reporting.TableGroup();
this.table2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));
textboxGroup = new Telerik.Reporting.TextBox();
textboxGroup.Value = dc.ColumnName.ToString();
textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
tableGroupColumn.ReportItem = textboxGroup;
table2.ColumnGroups.Add(tableGroupColumn);
textBoxTable = new Telerik.Reporting.TextBox();
table2.Body.SetCellContent(0, i++, textBoxTable);
textBoxTable.Value = "=Fields." + dc.ColumnName;
}
Telerik.Reporting.TableGroup tableGroupRow = new Telerik.Reporting.TableGroup();
this.table2.RowGroups.Add(tableGroupRow);
tableGroupRow.Grouping.Add(new Telerik.Reporting.Grouping());//new Telerik.Reporting.Data.Grouping());
processingTable.DataSource = ds.Tables[0];
var reportSource = CreateInstanceReportSource(reportInstance, sourceReportSource);
this.reportViewer1.ReportSource = reportSource;
this.reportViewer1.RefreshReport();
Our Application details are below:
.NET Framework Version is: 4.8
MVC Application
JS Framework: JQuery, Knockout JS for 2 way binding
Bootstrap & CSS for Design
Thanks



I'm new to the development area and I'm doing some tests with telerik.
my problem is as follows
at the moment my application already generates the CSV file and I already have the report layout ready, I would like some path in C# to load this
my pdf is generated without the data source , how do I solve this ?
{
var csvDataSource = new CsvDataSource();
csvDataSource.Source = new Uri(@"C:\Users\victord.lima\Desktop\Exemplos\31teste.csv");
csvDataSource.FieldSeparators = new[] { ',' };
csvDataSource.RecordSeparators = new[] { '\r', '\n' };
csvDataSource.HasHeaders = true;
csvDataSource.EscapeFormat = CsvEscapeFormat.Quotes;
csvDataSource.Quote = '"';
Telerik.Reporting.Report report = new Telerik.Reporting.Report();
report.DataSource = csvDataSource;
System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
UriReportSource reportSource = new UriReportSource();
reportSource.Uri = @"C:\Users\victord.lima\Desktop\Exemplos\TermoDeliberacaoDeCargaDeRecebimento.trdx";
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);
string fileName = result.DocumentName + "b." + result.Extension;
string path = System.IO.Path.GetTempPath();
string filePath = System.IO.Path.Combine(path, fileName);
using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
{
fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
}Our automated builds have started failing, and it does not appear we can connect to the NuGet server. We're using the v3 URL.
It also fails when trying to connect from Visual Studio. Error message in Visual Studio is:
[telerik.com] Failed to retrieve metadata from source 'https://nuget.telerik.com/v3/search?q=&skip=0&take=26&prerelease=false&supportedFramework=.NETStandard,Version=v2.0&supportedFramework=.NETCoreApp,Version=v3.1&supportedFramework=.NETStandard,Version=v2.1&semVerLevel=2.0.0'.
Response status code does not indicate success: 500 (Internal Server Error).
Any idea when the feed will be back up?

This morning we started getting these errors in our automated build pipeline from the https://nuget.telerik.com/v3/index.json feed:
Failed to download package 'Telerik.Documents.ImageUtils.2022.1.217' from 'https://nuget.telerik.com/v3/package/telerik.documents.imageutils/2022.1.217/telerik.documents.imageutils.2022.1.217.nupkg'. Response status code does not indicate success: 500 (Internal Server Error)

Some clinical studies can take up to 5 years or more, and I want to be able to show an entire study and its sub-tasks. I want to show periods of time longer than the current maximum of 1 year that is built into Kendo UI for jQuery v2018.3.1017, is that possible?
I'd like to be able to show a maximum of 6 years. Ideally the header would change to be able to see Quarter/Year rather than Month.
Is this possible?
