Hi guys,
I am currently evaluating the Scheduler control for one of my company's projects.
We are using Visual Studio 2010, targeting .NET framework 2.0 and x86 CPU. We are also using the latest version of the controls available atm.
I will start by congratulating Telerik on the whole package of controls and tools and hopefully we will be able to get this sorted out so we can buy the complete package and use it for our next version of the software.
An overview of what we are trying to achieve:
We have two types of events (I will give them generic names for privacy reasons):
-Base Event (Recurring type)
-Completion Event
The base events are created first and have a start date, end date and a frequency.
The completion events are created by the user to target a specific instance of one or more base events.
ex:
I create "Base Event 1" and "Base Event 2" both starting on 1/1/2001. Base 1 is daily, Base 2 is weekly.
At a different time I create a Completion Event that targets both the instance of Base Event 1 that occurs on the 8/1/2001 and the instance of Base Event 2 that occurs on the same date.
We need to display this information to the user on the Scheduler MonthView and TimeLineView in a way that allows the uses to have a global view of the all the Base Events with a different graphical representation to the Completion Events.
Also we need to have a visual link between each Completion Event and each of its Base Events.
Finally we need to be able to select a date and create a Completion Event, with the ability to select the target Base Events.
With this general idea I tried different approaches trying to adapt my solution to the scheduler architecture:
1 - Using the Base Event as resources:
This would allow me to use the Group By Resources and have a deferentiated view of each Base Event's Completion Events.
Limitations:
I need to be able to show all of the Base events on the same calendar along with all the Completion Events
I need to have single instances of the Main events on specific dates, so having them as resources is a big limitation.
Question:
Is it possible to use the Group By function with anything else other that the resources? If so, how?
2 - Create 2 derived classes of the Appointment, 1 for each kind of event, and display them differently, catching the AppointmentFormatting event:
This was by far the closest I got to a solution...
Limitations:
The month view appears to only be able to support 1 appointment per line with a default height and a default visual style.
Questions:
-Can I change the style (template?) of the Appointment base on its type? Lets say I wanted to draw the BaseAppointment as a Square and the CompletionAppointment as a Circle (Or something else that would differentiate them clearly?
-Can I change the style of the MonthCellElements so they can look divided into two? (kind of 'group by' inside each CellElement). I also tried adding controls to the Children collection, but they work on all views except the MonthView. On the month view the added controls only appear on the HeaderCells... (Bug??? I can send Screen Shots of this if you would like...)
-I can obviously add a collection of BaseAppointments to my CompletionAppointment class (which I did), but how can I display this relation to the user on the MonthView (or the TimeLineView)?
Sorry for the lenghty post but I was trying to be as clear as possible.
I have attached a screenshot of one of my tests, so you can have an idea of what I am trying to achieve. Each of the buttons inside the appointments represent a link to the respective base appointment with matching colors.
Regards,
Hugo
I am currently evaluating the Scheduler control for one of my company's projects.
We are using Visual Studio 2010, targeting .NET framework 2.0 and x86 CPU. We are also using the latest version of the controls available atm.
I will start by congratulating Telerik on the whole package of controls and tools and hopefully we will be able to get this sorted out so we can buy the complete package and use it for our next version of the software.
An overview of what we are trying to achieve:
We have two types of events (I will give them generic names for privacy reasons):
-Base Event (Recurring type)
-Completion Event
The base events are created first and have a start date, end date and a frequency.
The completion events are created by the user to target a specific instance of one or more base events.
ex:
I create "Base Event 1" and "Base Event 2" both starting on 1/1/2001. Base 1 is daily, Base 2 is weekly.
At a different time I create a Completion Event that targets both the instance of Base Event 1 that occurs on the 8/1/2001 and the instance of Base Event 2 that occurs on the same date.
We need to display this information to the user on the Scheduler MonthView and TimeLineView in a way that allows the uses to have a global view of the all the Base Events with a different graphical representation to the Completion Events.
Also we need to have a visual link between each Completion Event and each of its Base Events.
Finally we need to be able to select a date and create a Completion Event, with the ability to select the target Base Events.
With this general idea I tried different approaches trying to adapt my solution to the scheduler architecture:
1 - Using the Base Event as resources:
This would allow me to use the Group By Resources and have a deferentiated view of each Base Event's Completion Events.
Limitations:
I need to be able to show all of the Base events on the same calendar along with all the Completion Events
I need to have single instances of the Main events on specific dates, so having them as resources is a big limitation.
Question:
Is it possible to use the Group By function with anything else other that the resources? If so, how?
2 - Create 2 derived classes of the Appointment, 1 for each kind of event, and display them differently, catching the AppointmentFormatting event:
This was by far the closest I got to a solution...
Limitations:
The month view appears to only be able to support 1 appointment per line with a default height and a default visual style.
Questions:
-Can I change the style (template?) of the Appointment base on its type? Lets say I wanted to draw the BaseAppointment as a Square and the CompletionAppointment as a Circle (Or something else that would differentiate them clearly?
-Can I change the style of the MonthCellElements so they can look divided into two? (kind of 'group by' inside each CellElement). I also tried adding controls to the Children collection, but they work on all views except the MonthView. On the month view the added controls only appear on the HeaderCells... (Bug??? I can send Screen Shots of this if you would like...)
-I can obviously add a collection of BaseAppointments to my CompletionAppointment class (which I did), but how can I display this relation to the user on the MonthView (or the TimeLineView)?
Sorry for the lenghty post but I was trying to be as clear as possible.
I have attached a screenshot of one of my tests, so you can have an idea of what I am trying to achieve. Each of the buttons inside the appointments represent a link to the respective base appointment with matching colors.
Regards,
Hugo