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

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

9 Answers 49 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 12 Mar 2016, 11:16 AM

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.

9 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 15 Mar 2016, 09:50 AM
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.
0
Afsal
Top achievements
Rank 1
answered on 22 Mar 2016, 03:39 AM

Hi,

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

how can set for these..?

0
Yana
Telerik team
answered on 22 Mar 2016, 09:27 AM
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.
0
Afsal
Top achievements
Rank 1
answered on 22 Mar 2016, 11:20 AM

Hi Yana,

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

please find the attachment.

0
Yana
Telerik team
answered on 23 Mar 2016, 02:10 PM
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.
0
Afsal
Top achievements
Rank 1
answered on 24 Mar 2016, 09:11 AM

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

0
Yana
Telerik team
answered on 28 Mar 2016, 10:44 AM
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.
0
Tony
Top achievements
Rank 1
answered on 28 Mar 2016, 11:43 AM

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!

0
Yana
Telerik team
answered on 29 Mar 2016, 06:32 AM
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.
Tags
ScheduleView
Asked by
Tony
Top achievements
Rank 1
Answers by
Yana
Telerik team
Afsal
Top achievements
Rank 1
Tony
Top achievements
Rank 1
Share this question
or