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

Report preview not showing the table data

5 Answers 418 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
iyappan
Top achievements
Rank 1
iyappan asked on 18 Jun 2016, 11:25 AM

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 ???

 

5 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 22 Jun 2016, 11:33 AM
Hello Rambo,

The ObjectDataSource component can work with the object types listed in the Supported object types section. To use the class constructor, the class itself should implement a required interface or inherit one of the supported types. For example:
public class Cars : List<Car>
{
    public Cars()
    {
        Car car;
        car = new Car("Honda", "NSX GT", 2003 });
        this.Add(car);
 
        car = new Car("Nissan", "Skyline R34 GT-R", 2005 });
        this.Add(car);
    }
}

Otherwise, you will need to create a data retrieval method. For more information, please refer to the How Bind to a BusinessObject help article.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
iyappan
Top achievements
Rank 1
answered on 23 Jun 2016, 06:32 AM

Hi Nasko ,
        Thanks a lot .. for the response,

       I'm struggling one more problem ,that's in Telerik reporting Graph. Actually i'm using object data source as a DataSource. the Data Source member has   datetime data type and Double data type. My problem in,  graph is not  populate the data.

i Set the Coordniate System  property  has  Cartesian Coordniate System and   X  Axis- DateTime , Y Axis - Numerical value..

Actually i do know why the graph is not populating  ?????
 

0
iyappan
Top achievements
Rank 1
answered on 23 Jun 2016, 08:27 AM
when i create graph wizard the graph is looking somwe raw value ??? Why ?
0
iyappan
Top achievements
Rank 1
answered on 23 Jun 2016, 08:37 AM
When i set the X axis as date Time , the graph is showing some raw chunk data in the graph . the graph picture in above .
0
Nasko
Telerik team
answered on 24 Jun 2016, 06:36 AM
Hello Rambo,

The XAxis should be configured to use a DateTime scale. In this scenario, you will need to set the DateTimeScale properties such as BaseUnit and LabelUnit. If you do not set these properties, the graph might display too many axis labels and fill the whole graph with the raw chunk of data you are observing. For example, if you have data for a time span of a couple of years but the label unit and base unit are set to display every single hour on the axis, you will get so many axis labels that the graph won't be readable.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
iyappan
Top achievements
Rank 1
Answers by
Nasko
Telerik team
iyappan
Top achievements
Rank 1
Share this question
or