I am using UltraWeekView, in that the default start time is 12:00am and end time is 11:00pm. Is there any way to change Start and End Time. I want to change such that the Start time is 6:00am(instead of 12:00am) and the End time is next day 5:00am(instead of 11:00pm).
I have attached the snapshot of the same.
Hello Abhijit,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi,
Thanks it worked for me. Here's other help I need.
We are planning to use ultrawinschedule for scheduling of programs/shows. Our main concern however is whether the day can be customized as per our broadcast day definition.
For eg: in our application users schedule shows for a broadcast day which is ideally 6am to 5:59am the next day, but for the users that time span means a single day.
So I need to start each day of the week to start at 6am and end at 5:59am with the date remaining the same throughout the column.
I was able to achieve getting the schedule to start at 6am, but it ends at 5:59 am of the next day (cells from 12am to 5:59am are displayed with the next days date).
So if the user is scheduling the shows for today (i.e. 04/13/2014) I want the column for the day to start at 6am and end at 5:59am (with the date of each cell remaining 04/13/2014)
Please let me know if this is implementable?
Hi Abhijit,
Thank you for the reply.
What you could do is to manage logical day offset in order to present the appointment visually under same date as in my sample. As you can see the appointment start day is on the next day and it appear under the current day. Please run my sample and let me know if this is what you are looking for.
Please let me know if you have any additional questions or if I have misunderstood you.
Hi Abjhijit,
Thank you very much for sharing this. Please let me know if you need any additional assistance on this matter.
Thank you for using Infragistics components.
Hi Dimitar,
Thanks for you reply but i used following code and it worked for me.
void CalendarInfo_BeforeDisplayAppointmentDialog(object sender, Infragistics.Win.UltraWinSchedule.DisplayAppointmentDialogEventArgs e)
{
if (e.Appointment.StartDateTime.Hour < 6 && e.Appointment.StartDateTime.ToString("tt").Equals("AM"))
e.Appointment.StartDateTime = e.Appointment.StartDateTime.AddDays(-1);
e.Appointment.EndDateTime = e.Appointment.EndDateTime.AddDays(-1);
}