I have an application that has an angular 6 client with telerik reporting viewer,and C# api server.
I have created a report with the report designer. the report has 2 dateTime parameters defined like in the picture attached.
Now, I use it in the web service data source like in the other picture.
So far so good.
I update the parameters value from my clients like in the third image.
The problem is that when I check the value that is received in my web api has month and days switched so if the day is greater than 12 the parameter value is 1/1/0001. I have tried all sorts of datepipe format changes, with no success.
We need to purchase Telerik Report Server to install at client internal network.
The client does not permit internet access
Can we install Telerik Report Server with offline install method?
and can we activate its licence offline?
Hi,
I'm trying to integrate reporting rest service to Winforms Report Viewer
I'm getting the below error during report rendering
An exception has occurred while processing 'table1' item:
System.InvalidOperationException: The data provider of type 'Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider, Telerik.Reporting.WebServiceDataSource, Version=13.0.19.116, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' defined for data sources of type 'Telerik.Reporting.WebServiceDataSource' cannot be resolved. Are you missing an assembly reference?
at Telerik.Reporting.Processing.Data.DataProviderFactory.ResolveDataProviderType(Object component, Type baseType, IDataProviderContext dataProviderContext)
at Telerik.Reporting.Processing.Data.DataProviderFactory.GetDataProviderTypeCached(IDataSource component, IDataProviderContext dataProviderContext)
at Telerik.Reporting.Processing.Data.DataProviderFactory.Telerik.Reporting.Processing.Data.IDataProviderFactory.Create(IDataSource definition, Object expressionContext, IDataProviderContext dataProviderContext)
at Telerik.Reporting.Processing.Data.MultidimentionalDataProvider.Execute(MultidimensionalQuery query)
at Telerik.Reporting.Processing.DataItemResolveDataAlgorithm.GetDataCore(IDataSource dataSource, MultidimensionalQuery query, IServiceProvider serviceProvider, EvalObject expressionContext, IProcessingContext processingContext)
at Telerik.Reporting.Processing.DataItem.GetDataCore(IDataSource dataSource, MultidimensionalQuery query)
at Telerik.Reporting.Processing.DataItem.<>c__DisplayClass1.<ResolveData>b__0()
at Telerik.Reporting.Processing.DataItemResolveDataAlgorithm.ResolveData(String processingId, InMemoryState inMemoryState, MultidimensionalQuery query, Func`1 getDataCore, EvalObject expressionContext)
at Telerik.Reporting.Processing.DataItem.ResolveData()
at Telerik.Reporting.Processing.DataItem.ProcessItem()
at Telerik.Reporting.Processing.Table.ProcessItem()
at Telerik.Reporting.Processing.ReportItemBase.ProcessElement()
at Telerik.Reporting.Processing.DataItem.ProcessElement()
at Telerik.Reporting.Processing.ProcessingElement.Process(IDataMember dataContext)
Upon looking into this further i was unable to find the namespace Telerik.Reporting.Processing.WebServiceDataSource.WebServiceDataProvider
Some help would be appreciated
ReportsController Code
public class ReportsController : ReportsControllerBase
{
protected override Telerik.Reporting.Services.Engine.IReportResolver CreateReportResolver()
{
return new ProductReportResolver();
}
protected override Telerik.Reporting.Cache.Interfaces.ICache CreateCache()
{
return Telerik.Reporting.Services.Engine.CacheFactory.CreateFileCache();
}
[HttpPost]
[ActionName("Parameters")]
public override HttpResponseMessage GetParameters(string clientID, ClientReportSource reportSource)
{
try
{
return base.GetParameters(clientID, reportSource);
}
catch (Exception ex)
{
return null;
}
}
[ActionName("DocumentResources")]
[HttpGet]
public override HttpResponseMessage GetResource(string clientID, string instanceID, string documentID, string resourceID)
{
try
{
return base.GetResource(clientID, instanceID, documentID, resourceID);
}
catch (Exception ex)
{
return null;
}
}
protected override HttpStatusCode SendMailMessage(MailMessage mailMessage)
{
return HttpStatusCode.OK;
}
}
Hi,
I use html reporting and I need to have a filter like this in photo attached, where I can filter through a text. How can I do this from designer?
Best regards
What do mean with CALs in Telerik Report Server licence?
Is it number of application that will use this server?
or number of actual users they have permission to access reports through this server?
for example, If I have an angular application and an asp.net application.
These two applications will use Telerik Report Server
In this case, do I have two CALs?
or
If I have 10 users access reports through these tow applications. so I have 10 CALs?
Which is right?
Number of applications?
or
Number of actual users regardless of number of applications?
I have an application that has an angular 6 client with telerik reporting viewer,and C# api server.
I have created a report with the report designer. the report has 2 dateTime parameters defined like in the snapshot:
Now, I use it in the web service data source like on the other snapshot
So far so good.
I update the parameters value from my clients this way:
let rs =
{
report: this.reportName,
authenticationToken: token,
parametersAreaVisible: true,
parameters: {
networkItemsKeys: JSON.stringify(parameters.tags),
token: token, userName:this.userName,
toDate: parameters.toDate,
fromDate: parameters.fromDate } }
as unknown as JSON;
this.reportSource = rs; this.reportViewer.setReportSource(rs);
parameters.toDate is DateTime property.
I can see that the date parameters are updated fine when looking at a textbox defined this way:
Report Period: {Parameters.fromDate.Value.toShortDateString()}-{Parameters.toDate.Value.toShortDateString()}
The problem is that when I check the value that is received in my web api has month and days switched so if the day is greater than 12 the parameter value is 1/1/0001. I have tried all sorts of datepipe format changes, with no success.
The problem is solved when I use the toDate and fromDate as string parameters, but is seems like a stupid solution, and that way I can't use the date type abilities like .toShortDateString() in the text box. Any ideas?
TX Tal