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

4 posts, 1 answers
  1. Jeff
    Jeff avatar
    3 posts
    Member since:
    Mar 2016

    Posted 07 Feb 2018 Link to this post

    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. 

  2. Jeff
    Jeff avatar
    3 posts
    Member since:
    Mar 2016

    Posted 07 Feb 2018 Link to this post

    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>();
        }

    `

  3. Jeff
    Jeff avatar
    3 posts
    Member since:
    Mar 2016

    Posted 07 Feb 2018 Link to this post

    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>();
        }

  4. Answer
    Katia
    Admin
    Katia avatar
    693 posts

    Posted 08 Feb 2018 Link to this post

    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
Back to Top