Telerik Forums
Reporting Forum
10 answers
752 views

Hello.

I need a full example of a custom html template to customize the tool bar of the html5 report viewer.
I tried this 
templateUrl: '/Genesys.POSCommVision.POSWeb/Views/Shared/telerikReportViewerTemplate.html', and I got no error loading it but the report frezes on "loading."

Thanks in advance

Neli
Telerik team
 answered on 19 Dec 2019
1 answer
267 views
My report that has parameters that show up in the preview mode of the stand alone designer, but not in the HTML5 web viewer. I compared the parameters to the Sample Report that can be added when adding a report page to a web forms project and can find the difference.
Neli
Telerik team
 answered on 16 Dec 2019
1 answer
86 views

We have a series of functional tests which test that our endpoints are returning a 200 status code and return a file with a content type of application/pdf.

When running the tests individualy the all pass however when clicking "run all tests" we find that tests fail at random. So sometimes 2/10 will pass other times 9/10 etc.

A null reference exception is returned with the addition of "CancelProcessingException: An error occurred while evaluating the report parameters. Report source cannot be processed. Check the InnerException for more information." unfrtunatley the inner exception is also null.

 

An example of one of our functional tests is as below:

        [Fact]
        public async Task Post_valid_data_returns_success_and_correct_content_type()
        {
            // Given
            var client = _factory.CreateClient();

            // When
            var response = await client.PostAsJsonAsync(BASE_URL,
               new ReportDataExample().GetExample());

            // Then
            await response.EnsureSuccessStatusCode();
            response.Content.Headers.ContentType.ToString().Should().Be("application/pdf");

        }

I have attached a copy of the full error including stack trace. If anyone could advise on what the issue may be and/or a possible solution it would be greatly appreciated.

 

Neli
Telerik team
 answered on 16 Dec 2019
6 answers
4.4K+ views

Hi,

Is there a way to count the number of selected values in a multi-valued report parameter? I know the result of a multi-valued parameter is an object array (Object[]) but I would like to know the number of items in the array. 

Also, is there a way to know if  <select all> option is checked or unchecked, in other words if all values are selected or not?

 

Thank you.

 

 

Todor
Telerik team
 answered on 16 Dec 2019
3 answers
834 views

We were using VS 2015 with Reporting R3 2016 before. Recently we upgraded to VS 2017 and Telerik Reporting R3 2017.

After this upgrade we are not able to add new telerik report.

when we try to add new report by selecting Add ==> new item ==> Telerik Reporting R3 2017 (blank) we get below error.

Error: Incorrect version. The target project is using different Telerik Reporting version. Before adding this template the project should be upgraded
with the Upgrade Wizard or you should choose item template for the correct Telerik Reporting version.

 

Please help me here!

Jagadeesh

Adrian Segovia
Top achievements
Rank 1
 answered on 12 Dec 2019
1 answer
75 views

Hi to all,

Using the import report wizard in VS2019, I get the "addrange is not a member of table" error in the Classname.Designer.vb

Any idea how to fix it?

Thanks

Neli
Telerik team
 answered on 12 Dec 2019
3 answers
90 views
I am using telerik reporting and custom data source, I have a data like this


var purchaseJournal = new PurchaseJournal();
var dateToday = DateTimeOffset.Now;

var lineItemAccountStatement1 =
new LineItemAccountStatement
{
    GroupNo = 1,
    INV_NO = "INV1_APV1",
    ReportDate = dateToday,
    Vendor = "Vendor A",
    EnteredDebit = 700,
    LineItemID = Guid.NewGuid(),
};
 
var lineItemAccountStatement2 = new LineItemAccountStatement
{
    GroupNo = 1,
    INV_NO = "INV1_APV1",
    ReportDate = dateToday,
    Vendor = "Vendor B",
    EnteredCredit = 700,
    LineItemID = Guid.NewGuid(),
};
 
var lineItemAccountStatement3 = new LineItemAccountStatement
{
    GroupNo = 2,
    INV_NO = "INV2_APV2",
    ReportDate = dateToday,
    Vendor = "Vendor C",
    EnteredDebit = 8500,
    LineItemID = Guid.NewGuid(),
};
 
var lineItemAccountStatement4 = new LineItemAccountStatement
{
    GroupNo = 2,
    INV_NO = "INV2_APV2",
    ReportDate = dateToday,
    Vendor = "Vendor D",
    EnteredCredit = 8500,
    LineItemID = Guid.NewGuid(),
};
 
purchaseJournal.LineItemAccountStatements = new List<LineItemAccountStatement>
{
    lineItemAccountStatement1,
    lineItemAccountStatement2,
    lineItemAccountStatement3,
    lineItemAccountStatement4
};



I want to output a table like this




Todor
Telerik team
 answered on 12 Dec 2019
10 answers
1.4K+ views
Dear Support,

I generate a report which it has Persian(farsi or Arabic) data, it work fine and I can export it to different format, but I could not print or export it to PDF format. it shows "-" instead of my data and I could not find any setting for change report for supporting RTL languages , arabic or Persian language.
What should I do to make the report to show these data?

Here I attach the PDF view of my report(incorrect data) and my report in report viewer(correct Data).

Regards,
Amir
Neli
Telerik team
 answered on 11 Dec 2019
4 answers
357 views

I'm hoping you don't need a sample app of this behavior (because I'm having no luck creating one), but we are using WPF Telerik Reporting for 2D line drawing charts. Our data is from a couple 100 to several thousand data points, and i found that if the 'X' data remains constant for period of time with the 'Y' data varying, I would expect to see a vertical line at that X position going from the minimum Y value to the maximum Y value, but that is not happening. It's acting like there's some filtering going on - I don't see the max value of Y shown, even though it's in the data being plotted. I've tried all 3 LineType's of Smooth, Straight and Stepped and it made no difference. I was assuming at first the 'Smooth' algorithm was the cause, but that wasn't the case.

I am far from being a reporting expert, but I'm struggling with this issue and can't find any graph setting that seems applicable, but tried many, nothing is working. I'm hoping you have seen or heard of this problem before - I am probably missing seeing it.

Hope you can help!

 

Ivan Hristov
Telerik team
 answered on 11 Dec 2019
2 answers
191 views
The first Report has loaded  default Report Parameters 'Select All'
Rob
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 11 Dec 2019
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?