Telerik Forums
Reporting Forum
4 answers
1.5K+ views
Hi,

I need the reports to pass through layers of security which has already been set up in our own BaseController and therefore I need to set the DataSource of the report programmatically.

How can I do this with your MVC report tool as well as being able to pass through parameters? Alternatively, can I change the WebAPI url so it points to our own WebAPI functions?

Thanks.
Stef
Telerik team
 answered on 27 Jun 2016
3 answers
322 views
Hello there,

I have a small issue, in that I would like to create a CSS file for my report.
I made an invoice, which will be displayed on a website and also exported and sent by the seller to his customers. Unfortunately there are some issues here:

1. since it's made out to be print-ready, the invoice itself is only about 600px wide...i would like to modify that so it will actually look good on the screen
2. i would like (seeing as I'm a web developer, very much used to working with CSS) to just apply some simple CSS rules to my invoice (i.e. fonts, colors, width, height, etc) but everytime I try to do that, nothing happens (this is the first time I've had to work with Telerik Reports...not really fammiliar with it yet)
3. if I actually manage to apply CSS to it, do I need to create some media querries for printing and exporting? or is that handled by the application itself?
Stef
Telerik team
 answered on 24 Jun 2016
1 answer
131 views

Requirements

Telerik Product and Version

Telerik Report Desinger 2016

Supported Browsers and Platforms

IE, Motzilla

Components/Widgets used (JS frameworks, etc.)

.NET Framework 4

Thank you in advance for any feedback!

I am passing a datasource that contains two datasets. On my report under Bindings on the initial report I am using the following expression to set up the datasource of the table =ReportItem.DataObject.RawData.GetValue("states",true), this recognizes dataset(0) without any problem.  Now I need to set another table to dataset(1) =ReportItem.DataObject.RawData.GetValue("snapshotObj",true), but this is not being recognized, so I am thinking that I my code is not looking at dataset(1).  How can I do this?

Stef
Telerik team
 answered on 24 Jun 2016
46 answers
574 views
Hi,

I am trying to port my web application into Mono(Linux).
My database will be MySQL / SQLServer 2005.
Please let me know does telerik reporting supports this requirement or not?.

Thanks in Advance
Viny


Stef
Telerik team
 answered on 24 Jun 2016
1 answer
310 views

Hello,

I have added a Table in my report and data source is added to that table. I have added Row Group in the table and also added group row below the Row that shows actual data and in the new row i am displaying count of particular fields. i have added group on Company field and for every unique company i am showing Total using count function.

Ex. i have two companies with fields as shown below:

Company          PO       PO1       PO2

aaa                   1                           2

                         2             3            1

Total(count fn)  2             1            2  

 

bbb                   2             1            4

                         1             7            2

Total(count fn)  2             2            2 

 

Grand Total     4              3            4

In my case Grand total is showing 0 instead of actual count value, in fact when i click on report footer then data explorer is not showing Data source i have added.

The reason why i have opted for Table in the report is that i want to display Report Header and Page Header both in this report and because of design of the Telerik reports Page Header always gets displayed at the top, when i look to find a way which will allow me to display Report header above Page header, i found that it is not possible but found alternative solution where i can add table and then set ColumnHeaderPrintonEveryPage property to True.

 

Regards,

Savan Parmar

Nasko
Telerik team
 answered on 24 Jun 2016
5 answers
590 views

hi,I.m trying to create a Report for My application . i'm using telerik Reporting R2 2016.

Actually i add the New item telerik reporting R2 2016(blank) in  my  project . After i create an object data source and i choose the data Source member as a class Constructor. And i add a Table Wizard in detail section (report) and i Choose the Field also . The probelm is preview of report is not showing the table ( i mean it 's empty ) .Why ???

 

Nasko
Telerik team
 answered on 24 Jun 2016
4 answers
756 views

I am trying to create a simple Master Details report in a Winform application with a Master Table, Detail Table in a dataset.  I have followed the instructions for setting up a Master Details report.  My SubReport (CheckItemsSRPT) has a Parameter called "IDNum"  defined as an integer (as is the field idnum) which allows nulls.  , and a filter =fields.IDNum = =Parameters.IDNum.Value.

The Master Reports is grouped by the IDNum field.  It has a subreport in the details section whose ReportSource  is defined to the type CheckItemsSRPT with Parameter.IDNum, and a filter {=Fields.IDNum = =Parameter.IDNum.Value}

When I Preview the report in design time the data in the details section shows up as expected.

During runtime a dataset is filled with data and transferred  to the report. (See Code Below) 

The data in the Master table appears in the report as expected, but the subreport only renders the data of the default value of the Parameter.IDNum  (Also the report only renders after a manual refresh). 

I have set a breakpoint both at the SubReport1.Itemdatabinding event in the ChecksReport, and in the itemdatabinding event of the CheckItemsSRPT and the parameter.IDNum does not change its value.  What am I missing?

 

'Master report datasource      
    ObjectDataSource()
        mydsItems.DataSource = BudgetsDS1
        mydsItems.DataMember = "CheckItems"
'Master Report
        Dim myrpt As new CheckRpt()
        myrpt.DataSource = myds
'Detail Report
        dim mysubrpt as new CheckItemsSRPT()
        mysubrpt.DataSource = mydsItems
        Dim rssub as new InstanceReportSource
        rssub.ReportDocument = mysubrpt
'Assign Details to SubReport Control
        Dim myctrl As SubReport =TryCast( myrpt.Items.Find("SubReport1",True)(0),SubReport)
        myctrl.ReportSource= rssub
'Assign ReportSource to Viewer Control in form      
        Dim ms as new InstanceReportSource
        ms.ReportDocument = myrpt
        Dim myfrm as new CheckViewervb()
        myfrm.ReportViewer1.ReportSource = ms
        myfrm.Show()

 

Nasko
Telerik team
 answered on 24 Jun 2016
1 answer
255 views

Hi there,

I am facing design issues when I try to show some "content" alogn with its "heading". Actualy heading is set in one html-text-box while content is set to another html-text-box, I am keeping both of them in one panel. But heading box is at bottom of one page and its content is showing on starting point of next page.

Please provide solution.

Thanks & Regards

Yashad

Stef
Telerik team
 answered on 23 Jun 2016
6 answers
1.0K+ views
Hi,

I'm using the telerik reporting 2010 Q1.

When adding a new report to my class library, I choose connection object data source which shows me all data objects in the library.

After a while the wizard shows empty window and I cannot select these objects. They are still there.
Tried rebuild still no go.

The only way to get it back is to start new class library and my data objects are back.... again for a while.

Has anyone had similiar problem?
Stef
Telerik team
 answered on 23 Jun 2016
2 answers
282 views

Thank you in advance for any feedback!

I am passing a datasource that contains two datasets. On my report under Bindings on the initial report I am using the following expression to set up the datasource of the table =ReportItem.DataObject.RawData.GetValue("states",true), this recognizes dataset(0) without any problem.  Now I need to set another table to dataset(1) =ReportItem.DataObject.RawData.GetValue("snapshotObj",true), but this is not being recognized, so I am thinking that I my code is not looking at dataset(1).  How can I do this?

 

Thank you,

Rocio

Nasko
Telerik team
 answered on 23 Jun 2016
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?