Gannt Calendar/Schedule View UI for WPF Resources Buy Try Post a reply

10 posts, 0 answers
  1. Tony
    Tony avatar
    12 posts
    Member since:
    Jul 2015

    Posted 12 Mar Link to this post

    Good morning Telerik,

    I am looking for advice on how to accomplish something.

    I am working on an app that will allow separated parents to easily plot out who has their children and when.  I am wanting to use Telerik's controls to visually display display something that looks like a combination between a Gannt view and a calendar.  Do you have any suggestions on how I might go about that?

    The Mockup shows something kind of like what I'd like to accomplish.

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 15 Mar Link to this post

    Hello Tony,

    The most suitable control we can suggest for such scenarios is RadScheduleView for WPF - it's a scheduling control with a number of features. For example, in the concrete case you can use the TimelineViewDefinition and add Resources (the column on the left) - please take a look at the ScheduleView examples at our WPF Demos.
    Note that still you will not be able to achieve exactly the same look as in the mockup ( for example the numbers in the slots).

    Hope this will help get started. If you have any additional issues or questions regarding the ScheduleView, let us know.

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Afsal
    Afsal avatar
    3 posts
    Member since:
    Mar 2016

    Posted 21 Mar Link to this post

    Hi,

    i would like to set values to DayStartTime and DayEndTime from front end code..?

    how can set for these..?

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 22 Mar Link to this post

    Hi Afsal,

    The following topic in our documentation describes how to set DayStartTime and DayEndTime properties of the ScheduleView ViewDefinitions in XAML as well as in code-behind:
    ViewDefinitions Configuration

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  6. Afsal
    Afsal avatar
    3 posts
    Member since:
    Mar 2016

    Posted 22 Mar Link to this post

    Hi Yana,

    I tried this one but didn't change Day start time on loading time..

    please find the attachment.

  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 23 Mar Link to this post

    Hello Afsal,

    Could you please give us more details on the used scenario, what do you mean with "loading time"? I am asking as the provided code works without a problem at our side, still we have tested it in a simple scenario with RadScheduleView without any additional code.

    Looking forward to your reply.

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  8. Afsal
    Afsal avatar
    3 posts
    Member since:
    Mar 2016

    Posted 24 Mar Link to this post

    Hi yana,

    that problem solved..I have one more Problem,when I click Day view button I wanted to hide group header day..?

    I have attached a problem Picture

  9. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 28 Mar Link to this post

    Hi Afsal,

    You will need to customize the ScheduleView GroupHeaderContentTemplateSelector in order to hide a certain group. In short, you will have to add a new Template with Width set to "0" and return this template inside the SelectTemplate method when the DayViewDefinition is the active ViewDefinition and the GroupHeader is a date header. Please check the following section inside the Templating the GroupHeaders topic for more details:
    How to Create a Custom GroupHeaderContentTemplateSelector.

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  10. Tony
    Tony avatar
    12 posts
    Member since:
    Jul 2015

    Posted 28 Mar Link to this post

    Hi All,

    I came up with a solution that let me get the visual representation that I wanted.  It isn't elegant but it works.

    Anyway, what I did was create a custom control that had 7 of the scheduler controls on it all in timeline mode.  I then positioned them so that, except for the first one, their headers were under each other.  This makes it visually look like a "Calendar Timeline".

    @Yana -

    If you don't mind, would you pass this visual up the Telerik chain of command?  I can imagine a native view like this would be very useful for a lot of different folks.

    Thanks a ton!

  11. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 29 Mar Link to this post

    Hello Tony,

    Thank you for sending your feedback, we will definitely have it in mind.

    Regards,
    Yana
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for WPF is Visual Studio 2017 Ready