Telerik Forums
Reporting Forum
1 answer
455 views

hello I want to  Access report fields from a Table item and I've tried the follow example as in the http://www.telerik.com/help/reporting/faq-accessing-items.html

 

 Private Sub tabelaLivroPonto_ItemDataBinding(sender As Object, e As EventArgs) Handles tabelaLivroPonto.ItemDataBinding

        'get the textbox from the sender object            
        Dim textBox As Telerik.Reporting.Processing.TextBox = DirectCast(sender, Telerik.Reporting.Processing.TextBox)
        'get the table object
        Dim table As Telerik.Reporting.Processing.Table = DirectCast(textBox.Parent, Telerik.Reporting.Processing.Table)
        'get the detail section
        Dim detail As Telerik.Reporting.Processing.DetailSection = DirectCast(table.Parent, Telerik.Reporting.Processing.DetailSection)
        'get the raw value from the Report datasource directly
        textBox.Value = detail.DataObject("DiaSemana")
        MsgBox(textBox.Value)

    End Sub

 

but I got the follow error in my reportviewer

"An erro has ocurred while processing table "tabelaLivroPonto" <- my table

Unable to cast object of type 'Telerik.Reporting.Processing.Table' to type 'Telerik.Reporting.Processing.TextBox'

 

Please, someone could help me?

ty

 

Nasko
Telerik team
 answered on 17 Nov 2015
3 answers
686 views

Hi,

 

I'm trying to develop a report and I'm having problems with border lines. I have text boxes drawn from the data Explorer in the detail section and I want vertical lines separating all the columns and horizontal lines after rows that contain a specified value. I'm having problems with vertical lines when the data in some columns span more than one row(see attachment). Also how can I create horizontal lines conditionally based on the data in the next row?

 

 

James

Nasko
Telerik team
 answered on 17 Nov 2015
1 answer
96 views

Hi,

Recently, I upgraded my reporting service from 8.2.14.1027 to 9.0.15.324. I am using grid in the report. In the previous version everything was ok, but in the new one, the grid data is repeating. For instance, I have 10 instance in a db table and they are completely different, in the new version, it shows the first instance 10 times in the report. Can you please help me about this?

Thanks in advance.

Nasko
Telerik team
 answered on 17 Nov 2015
1 answer
107 views

Hello, is there a plan to have a HTML5 Designer in the future?

(some other reporting solutions have such a designer (DevExpress, stimulsoft)

robert

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
344 views

There is some tutorial to create a default layout to reporting? I need some report base with header and footer standard, and when I create a new report, use this default as reference.

 Thanks.

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
117 views

Is there a way to use HTML5 Report Viewer in a JSP application?

 

All of the examples I've seen use  C# class ReportFileResolver.

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
509 views

Hello,

 

We are using 8.1 14.804 version of Telerik Reporting. We would like to use it with Visual Studio 2015 but the installer doesn't install anything for it.

Is there a way to have the report wizard (that would allow us to create specific avery labels reports) under Visual Studio 2015 ?

We don't want to upgrade our version of Telerik Reporting and we can't use VS2013 anymore. We are stuck with a product we bought but don't work anymore with VS2015. 

Please tell me if it is possible to do something.

Thanks,

Regards

Steeve

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
200 views

My question is: Why does the report "get" the list of ProfileItems that it uses for the report parameter twice?
Here's the setup:

Q3 2015 report
Adding a ReportParameter (right click report surface, select ReportParameters...)
Click the Add button, name it ProfileId.
Open the AvailableValues drop down and add a new ObjectDataSource for the Data Source of this parameter.
I'm using simple "POCO" object that returns an IEnumerable<ProfileItem> and ProfileItem has a First/Last Name and an Id field. Using a quick SQL query it populates all the active profiles from the database. Simple so far. Set the ValueMember to the Id field (it's a Guid) and the DisplayMember to the name. All done! Oh wait...I also have to set the Value.
Also, the report doesn't like Guids, so I've added a getter property that just returns the Guid Id as string.
Ok, now it all works fine!

Except, I was nosey and noticed that it accesses the data source to return the list of ProfileItem twice.
Why would it access the function twice?

Thanks!

Nasko
Telerik team
 answered on 16 Nov 2015
4 answers
189 views

I have problems when exporting report to Excel:
-  I would like to know why I get ​extra cells at a line when exporting to excel.
-  The colors are not the same (color blue turned into gray).

 

Stef
Telerik team
 answered on 16 Nov 2015
1 answer
161 views

I have a Parameter called 'Group By'.  There are 3 choices in a dropdown on the report for which the user can select one and the report will be grouped differently.  I did this using bindings.

 My problem comes with the values of the dropdown.  We have a user defined function set up that accepts an organizations id and culture then returns a certain value.  For example, some orgs use 'Goal' and some use 'Strategy' to refer to the same thing.  I want the dropdown to change depending on the value of this function.

The select statement for my data source goes as follows:

select 
1 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("FOCUS_AREA", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay
UNION
select 
2 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("FUNCTION_AREA", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay
UNION
select
3 as GroupById
,'Epm.Reports.ReportLibrary.TermCache.GetData("GOAL", Parameters.OwnerCode.Value, Parameters.CultureName.Value)' as GroupDisplay

 

The Display Value for my parameter is GroupDisplay.  I would like these to display the word that is pulled from my function.  But the dropdown is filled with the full text 'Epm.Reports.ReportLibrary.TermCache.GetData("GOAL", Parameters.OwnerCode.Value, Parameters.CultureName.Value)'.  The function works elsewhere in the report so I know it is not that.  Any ideas?

 

Thanks,

Phillip

Nasko
Telerik team
 answered on 13 Nov 2015
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?