Simple VB example with Objects

6 posts, 0 answers
  1. Sam
    Sam avatar
    50 posts
    Member since:
    Apr 2008

    Posted 20 Mar 2015 Link to this post

    We’re evaluating using the Gantt component for a very large
    project; we did not use it before, but extremely familiar with the other
    components. It seems this one is missing a few things from the smart Tag, like
    data source selection and maybe one day a designer for it. We are a little lost
    inside of it and for some crazy reason could not get the examples to work in
    VB. Would it be possible to help us with a very simple example that builds the
    entire chart from code behind and uses Objects and not a direct connection to
    db or a SQL dataset. If possible, please use a FOR loop to insert the Tasks and
    relationships. Thank you for the help.

  2. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 23 Mar 2015 Link to this post

    Hello,

    I've attached a small sample project demonstrating the proper way to bind the Gantt control from code behind - using a DataTable. Hopefully it will point you in the right direction when implementing your project.

    Regards,
    Bozhidar
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sam
    Sam avatar
    50 posts
    Member since:
    Apr 2008

    Posted 23 Mar 2015 in reply to Bozhidar Link to this post

    Thank you so much, you guys are great, we'll go through it and let you know.

    -Sam
  5. Sam
    Sam avatar
    50 posts
    Member since:
    Apr 2008

    Posted 13 Apr 2015 in reply to Sam Link to this post

    I wanted to clarify a couple of requests:

    1. For some reason this seems to be one of the only
    controls that we cannot bind to a list of Objects. Is there a plan to be able
    to do that in the future.

    2. In the dependencies (Task/activity Relationships),
    is there a way to add a Lag time between tasks. So the next task would not just
    start right after the completion of the task before it. For example, if you
    finish painting a wall, you need a lag time of some 16 hours for the paint to dry before you
    can start the next task.

    Thank you,

    -Sam

  6. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 15 Apr 2015 Link to this post

    Hi,

    I've  attached a sample demonstrating the Gantt being bound to a List of objects, complete with Crud operations implemented.

    As for the second question, the gantt doesn't implement any auto scheduling, so implementing lag time between tasks is purely up to the developer.

    Regards,
    Bozhidar
    Telerik
  7. Sam
    Sam avatar
    50 posts
    Member since:
    Apr 2008

    Posted 22 Apr 2015 in reply to Bozhidar Link to this post

    Thank you, that was very helpful.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017