Telerik Forums
Reporting Forum
1 answer
424 views

Hi,

I'm using Telerik 2013 Q2 (for .NET Windows).

I'm trying to generate a Dynamic Report, where the Columns are getting generated at run time.

When I use the code mentioned in the below link for grouping, the report shows only the first row of each group!!!

http://docs.telerik.com/reporting/data-items-how-to-add-groups-to-table-item-and-crosstab-item


Telerik.Reporting.TableGroup group1 = new Telerik.Reporting.TableGroup();

group1.Name = "Col1";
group1.Groupings.Add(new Telerik.Reporting.Grouping("=Fields.Col1"));


Why it is not showing all the rows of each group???

Kindly let me know.

with regards,
Krish TS

Stef
Telerik team
 answered on 27 Apr 2016
7 answers
694 views

Hi,

I recently started working with Telerik Reports and looks good.

Currently I'm working on Windows .NET application and need to create a fully dynamic simple report.

The report query varies based on the user selection on the windows application (report name, database table name, db columns, db condition, db grouping columns).

Based on the above selection, the query gets built dynamically (kind of a query builder tool).

This query result should be dynamically populated in the Telerik Report.

How can I acheive the Telerik report to handle these kind of dynamic queries?

I came across multiple forums asking for similar kind of question but I'm getting lost with multiple replies.

Kindly help on what is the clear way for doing this (with db column grouping too)? with any sample attachment please.

with regards,

Krish TS

Stef
Telerik team
 answered on 27 Apr 2016
3 answers
196 views

Hi

As the title says, your ssl certificate seems to have expired yesterday and the report viewer isn't working anymore therefore.
Example: GET https://kendo.cdn.telerik.com/2013.2.918/js/kendo.all.min.js net::ERR_INSECURE_RESPONSE

Our customers already noticed, please refresh.

Regards

Stef
Telerik team
 answered on 27 Apr 2016
3 answers
1.5K+ views
In my report I have used textboxes with "Fields" property to dynamically bind the data using CSV data sources. But in these text boxes I need to use line breaks/new lines using only one Fielld. For example I should be able to make csv field as "Janitha \n Silva" and in text box automatically new line should be added. I know that this can be done by using htmltextboxes. But I need to know is there any way to do this by using only textboxes, not htmltextboxes. 
Katia
Telerik team
 answered on 27 Apr 2016
1 answer
257 views

Hello. I have created a report using the Standalone Designer. I am able to display the report in an MVC view using an HTML5 Report Viewer but I have not been able to display data using ObjectDataSource and an in-memory business object.

I found this post by Stef on the forums (16 Jul 2014):
“The HTML5 Report Viewer and the Reporting REST service does not use the MVC concept. Thus if you have a model containing data or other information required in your reports, you need to implement a logic to access that model in the reports' controller e.g. to store the data and access it by key in the service's resolver, or to modify the reports to use such data source component, that wraps a data retrieval method having access to that model.”

¿Could you please elaborate how this is done?

The post continues: “… A demo of a report that uses a custom data retrieval method is available in the local examples under C:\Program Files (x86)\Telerik\Reporting Q2 2014\Examples\CSharp\ReportLibrary\DataBinding. The ListBoundReport uses an ObjectDataSource to retrieve data from a custom business object. This business object can be modified anywhere in the application, when the report is requested its ObjectDataSource will search for the assigned data retrieval method and will get the data.”

I have reviewed the example but I still don’t get how it works. The objectDataSource1 has DataSource assigned but no DataMember assigned. Shouldn’t the DataMember property contain the data retrieval method name mentioned in Stef’s post to get the data? In any case, how does it know what instance of the class should be used to retrieve the data from? Let’s say I have a Product class and there are 2 instances of this class: productA and productB, How do I tell ObjectDataSource to use product for instance?

Thank you very much in advanced,
Humberto

Stef
Telerik team
 answered on 25 Apr 2016
10 answers
693 views
Can someone help me with code to put inside my Win Form vb.net that will allow me to pass a Parameter to my Q1 2010 report that will affect the SQL WHERE Clause?  I am creating a Purchase Order Report and need to pass the report the PO Number that the report needs to generate. 

This has to be the simpliest of all report questions and I fill dumb for asking but I can't find any help on telerik website.  I have spent hours looking. 

Thanks!
Stef
Telerik team
 answered on 25 Apr 2016
5 answers
525 views
Is there a way to disable those warning icons that appear on the corner of an element when 2 or more elements overlap ?

Stef
Telerik team
 answered on 25 Apr 2016
3 answers
293 views
If I place a subreport on a report and try and select the report object, then Report Document the subsequent popup screen is just blank and white. I have attached some screenshots. Any ideas? This makes it very tedious to create a subreport as I need to manually edit the Designer.cs and .resx files.
Hamada
Top achievements
Rank 1
 answered on 22 Apr 2016
12 answers
792 views
I am also trying to pass parameters to a report from a .NET aspx web form. I tried converting your C# solution to VB.Net and was unsuccessful. I am using the following code:

Dim Report1 as New Telerik.Reporting.Report
Dim instanceReportSource =  New Telerik.Reporting.InstanceReportSource()
instanceReportSource.ReportDocument = Report1
ReportViewer1. ReportSource = Report1
Report1.ReportParameters("@Loc").Value = "Corporate Plaza"   <<===== ERROR ON THIS LINE
ReportViewer1.RefreshReport()


I get an error stating that an Object reference not set to an instance of an object.

Use the "New" keyword to create an object instance.

I have  tried several things and so far have not been able to get past this point.

Your help would be greatly appreciated as once I have the parameter passing working my management will be ready to pull the trigger on purchasing your "Reporting" tools and possibly some other packages.

Thanks in advance,
Alan

Hamada
Top achievements
Rank 1
 answered on 22 Apr 2016
1 answer
747 views

Hi!

I'm currently working on a project, where I would need a dynamic table with the possibilty of adding rows to the existing template (you can see that one in the attachments).  I just can't find a proper solution on how to create tables in code.

Thanks for the replys in advance!

Stef
Telerik team
 answered on 22 Apr 2016
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?