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

Data Source Configuration Wizard doesn't work in Visual Studio 2017 Designer.

3 Answers 785 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 07 Feb 2018, 05:34 PM

I am using: Visual Studio Professional 2017 version 15.5.6

I am using : Telerik Reporting version 12.0.18.125

I am trying to create a report in visual studio using the visual studio report designer. Everything seems to be working great except when I open the data source tab and try to add an Object data source. I go through the whole wizard but after I complete the final step and click "finish", nothing happens. The data source is not added, no error dialog appears, nothing happens. 

3 Answers, 1 is accepted

Sort by
0
Jeff
Top achievements
Rank 1
answered on 07 Feb 2018, 06:06 PM

Here is my object for reference:

`

    [DataObject]
    [BsonIgnoreExtraElements]
    public class JobModel
    {
        [BsonId(IdGenerator = typeof(CombGuidGenerator))]
        public Guid Id { get; set; }

        public string Name { get; set; }

        public JobType JobType { get; set; }

        public Status Status { get; set; } = Status.InProgress;

        public DateTime LastModified { get; set; } = DateTime.Now;

        public JobDetailsModel JobDetails { get; set; } = new JobDetailsModel();

        public int DefaultQualityLevel { get; set; }

        public UnitOfMeasure UnitOfMeasure { get; set; } = UnitOfMeasure.AreaToBeReplacedSF;

        public int DefaultValue { get; set; }

        public List<JobQualityLevelModel> JobQualityLevels { get; set; } = new List<JobQualityLevelModel>();
    }

`

0
Jeff
Top achievements
Rank 1
answered on 07 Feb 2018, 06:07 PM

Here is my object for reference:

    [DataObject]
    [BsonIgnoreExtraElements]
    public class JobModel
    {
        [BsonId(IdGenerator = typeof(CombGuidGenerator))]
        public Guid Id { get; set; }

        public string Name { get; set; }

        public JobType JobType { get; set; }

        public Status Status { get; set; } = Status.InProgress;

        public DateTime LastModified { get; set; } = DateTime.Now;

        public JobDetailsModel JobDetails { get; set; } = new JobDetailsModel();

        public int DefaultQualityLevel { get; set; }

        public UnitOfMeasure UnitOfMeasure { get; set; } = UnitOfMeasure.AreaToBeReplacedSF;

        public int DefaultValue { get; set; }

        public List<JobQualityLevelModel> JobQualityLevels { get; set; } = new List<JobQualityLevelModel>();
    }

0
Accepted
Katia
Telerik team
answered on 08 Feb 2018, 08:34 AM
Hi Jeff,

Based on the attached screen shots, you use Data Source Configuration Wizard provided by Microsoft. In order to connect Telerik Report to custom data object, you need to use ObjectDataSource Wizard that will take you though the steps of configuring ObjectDataSource Component.

ObjectDataSource Wizard can be found in VS toolbox under Telerik Reporting node - check this screen shot. Detailed steps on how to configure the wizard are provided here.

You might also review How to Databind to Collection Properties KB article that provides an example how to bind to hierarchical data.

I hope this information will help.


Regards,
Katia
Progress 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
Jeff
Top achievements
Rank 1
Answers by
Jeff
Top achievements
Rank 1
Katia
Telerik team
Share this question
or