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?
HI.
I need some help.
Does calling to async method from constructor is legal ?
There Is a warning.
If not what is the alternative ?
Thanks in advance,
Hi Team ,
We have recently changed session state from InProc to Custom in web.config (we want to work with Custom session state only). and after that while generating telerik reports Events like ItemDataBound ,ItemDataBind are not getting fired .
We are using DLL version 15.1.21.616
Can someone please help with this issue ASAP ?
Hi,
I want to limit the number of characters in searchText,
my preference is to do it from the view,
And if that is not possible, I would be happy for help on how to do it from the code behind.
Thanks,