This is a migrated thread and some comments may be shown as answers.

List Objet on Telerik Report

2 Answers 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 28 May 2014, 01:28 PM
Hello!
I want to display a Objet List on Telerik report, but I cant.
I try to use Subreport, but dont resulted.
How I do?

Objet:
    Public Property W As New List(Of WW)
    Public Property X As New List(Of XX)

    Public Class XX
        Public Property NomeEscola As String
    End Class

    Public Class WW
        Public Property NomeLingua As String
    End Class




2 Answers, 1 is accepted

Sort by
0
Marcelo
Top achievements
Rank 1
answered on 28 May 2014, 03:59 PM
Ive solved.
We can use a Container (Table, List,Crosstab),  and select properties -> Data -> Bindings- > New (PropertyPath) -> select DataSource ->Expression -> select your object list

After that you add a textbox to the container you choose, and rigtht the name of property (using the object I put on the first message):

textbox value = Fields.NomeEscola
0
Stef
Telerik team
answered on 31 May 2014, 11:08 AM
Hi Marcelo,

This is the correct approach to use your business object's collection properties.

More details about data binding approaches for more complex business objects can be found in the following articles:

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Marcelo
Top achievements
Rank 1
Stef
Telerik team
Share this question
or