Telerik Forums
Reporting Forum
1 answer
619 views

This is for a .net core 2.2 razor page.

I've tried rerunning the vsix for vs2019, but nothing seems to work. How to get "The HTML5 Report Viewer item template is available in the Add New Item dialog box under the Web category" referenced in the docs at https://docs.telerik.com/reporting/html5-report-viewer-quick-start to show up?

I have found very little in the way of examples that are razor based. Does such an animal exist?

Thanks .... Ed

 

Silviya
Telerik team
 answered on 25 Apr 2019
3 answers
332 views
Dear Admin,
There is a issue I want to combine give reports in asp.net webforums our plan was to use reoprtbook for it but seems reportbooks is not available for asp.net webforums
http://www.telerik.com/help/reporting/designing-reports-reportbook-web-viewer.html
can you please help me asap how to combine multiple reports in asp.net webforums.

Thanks,
Shakti
Donald McLean
Top achievements
Rank 2
 answered on 24 Apr 2019
1 answer
666 views

I have a question that is frustrating me.  I am trying to get up a column chart using the following query

SELECT COUNT(conversation.id) as total_chats, 
       COUNT(lead.id) as total_leads,
       (SELECT SUM(total_visits) 
FROM site_visit INNER JOIN site ON site.id = site_visit.site_id 
WHERE [date] BETWEEN DATEADD(DAY, DATEDIFF(DAY, 0, conversation.conv_start), 0) AND DATEADD(DAY, 1, DATEADD(DAY, DATEDIFF(DAY, 0, conversation.conv_start), 0)) AND site.client_id = @clientId) AS total_visits,
DATEADD(DAY, DATEDIFF(DAY, 0, conversation.conv_start), 0) as date,
        site.client_id
FROM conversation LEFT OUTER JOIN lead on conversation.lead_id = lead.id
                  INNER JOIN site on site.id = conversation.site_id
WHERE site.client_id = @clientId and conversation.conv_start BETWEEN DATEADD(DAY, 1, DATEADD(MONTH, -6, EOMONTH(@date))) AND DATEADD(DAY, 1, EOMONTH(@date))
GROUP BY DATEADD(DAY, DATEDIFF(DAY, 0, conversation.conv_start), 0), site.client_id that runs properly in the query configuration tool and populates the design view as expected as evidenced in the attached screenshots.  But when I attempt to run a preview I get the error shown in the third attachment.

I have checked all of the parameters and don't understand why this error would be coming up.

Thanks you for helping me understand this error.

James Wallace

Neli
Telerik team
 answered on 24 Apr 2019
10 answers
999 views
hi guys,
what's up?

i'm reviewing the telerik reporting for my company.
one of the things i'm reviewing is support for right to left languages for our middle east costumers. (Hebrew and Arabic)
i've watched this video on telerik tv about localizing: http://tv.telerik.com/reporting/localize/localizing-telerik-reports
i've set the report viewer to right to left and set the language to work in Hebrew and everything.
(the report is irrelevant 'cause it's bound to a specific DB data so i haven't uploaded it)
when i set the UI culture and the culture in the current thread to "he-IL" (as shown in the video) i can see the report from right to left,
and the report viewers' upper toolbar is displayed from right to left.
but when i print the report the page comes out from left to right like nothing happend - any suggestion?

thanks in advance.



Sath
Top achievements
Rank 1
 answered on 24 Apr 2019
2 answers
597 views

Hello Telerik Team,

I wanted to install Telerik Reporting 12.2.18.912, but in the Progress Control Panel in Telerik Reporting under "View All Versions" I can only see 2 versions. (See in scrennshot). How can i install the version that I need?

Thank you in advance.

Tamara

Tamara
Top achievements
Rank 1
 answered on 23 Apr 2019
1 answer
114 views

Hello, I need to get the size of textbox programatically but when I use, for instance, textBox.Height.Value I get the rounded number. Is there any way to get the accurate value of textbox size?

Thanks!

Todor
Telerik team
 answered on 22 Apr 2019
1 answer
117 views
Hi,
We have a business requirement where we will have different views for printing and report viewer (web). We're planning to create seperate reports for both views with different names (example : name of the report for the web will be 'ReportWeb' and for print will be 'ReportPrint'. How to call the the report for print when the user clicks the Print button? Or is there any better way to achieve this?

Regards,
Majar
Todor
Telerik team
 answered on 22 Apr 2019
2 answers
1.6K+ views

Hi, I'm very new to Telerik Reporting so please excuse the very basic question :)

I have a solution with multiple projects. The reports are in their own project.  I am trying to create the report from the website project and send a list of my data type to the objectDataSource of the report so that it can dynamically populate the report table. Then I render the report instance as a pdf to store. 

I am able to call and create the report, but I am having trouble getting the report to populate any data into the table.  The report renders but is blank other than the table headers. 

I am trying to find an example solution that does this using 2 projects, a telerik report, an object data source, and a GetData method that takes in a List<MyData> and returns the List<StuffData> so that the table can be populated. Is this doable or is there a better way to pass a list of data to the report so that it can dynamically populate the table on the report? 

Telerik.Reporting.ObjectDataSource objectDataSource1 = new Telerik.Reporting.ObjectDataSource();
        List<StuffData> stuffDataList = new List<StuffData>();

//This is just an example. The list will be populated from user selections adding to the list. 
        for (int i = 1; i < 3; i++)
        {
            int dummyNumber = 999999999 - i;
            StuffData stuffData = new StuffData()
            {
                stuffAddress = i + "Main Street",
                stuffDataId = i,
                stuffSource = "Source " + i,
                stuffName = "Big Corp #" + i,
                stuffNumber = dummyNumber.ToString()
            };
            stuffDataList.Add(stuffData );
        }

//Class in the report project that contains the GetStuffData method to return the list of stuff.  I couldn't find a way to pass a List<StuffData> in as a report 

//parameter

        objectDataSource1.DataSource = typeof(StuffDataAccess);
        objectDataSource1.DataMember = "GetStuffData";
        objectDataSource1.Parameters.Add(new Telerik.Reporting.ObjectDataSourceParameter("stuffDataList", typeof(List<StuffData>), stuffDataList));

        ReportTemplate.StuffReviewReport stuffReviewReport =
    new ScheduledHearingTemplate.StuffReviewReport();
        stuffReviewReport.DataSource = objectDataSource1;

        ReportProcessor reportProcessor = new ReportProcessor();
        Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
        instanceReportSource.ReportDocument = stuffReviewReport;
        RenderingResult result = reportProcessor.RenderReport("PDF", instanceReportSource, null);
       

Thanks in advance. 

T
Top achievements
Rank 1
 answered on 22 Apr 2019
2 answers
150 views

I see "Using Multivalue Parameters" document that "The data source cannot be a stored procedure. Telerik Reporting does not support passing a multivalue parameter array to a stored procedure."

I want to confirm if I can pass MultiVaule to Oracle stored procedure in standalone version. 

Many thanks

 

Nasko
Telerik team
 answered on 19 Apr 2019
2 answers
186 views

I am new to Telerik and have run into an issue with the creation of a Pie chart.  I first set my data source groups and run the design mode view to see that the graph looks correct.  I then go to start cleaning things up and rename the graph from graph1 to another name and then run the designer view again to see the error :

An error has occurred while processing Graph 'DeviceTypePercentages':

An error has occurred while processing RangePolarDataPoint:

Scope name 'graph1' does not represent a valid data scope name.

---------InnerException--------

Scope name 'graph1' does not represent a valid data scope name.

Thanks for any help you can provide on this.

James
Top achievements
Rank 1
Iron
 answered on 18 Apr 2019
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?