I am reposting a question that I really need to find the answer to but has so far gone unanswered.
When I create an ultraschedulePrintDocument and set its PrintStyle to "Daily".... the TIMESLOTINTERVAL when I print the document is 20 minutes. There seems to be NO WAY to control this.
I have tried:
UltraSchedulePrintDocument1.TemplateDayView.TimeSlotInterval = TimeSlotInterval.TenMinutes
Hey Aaron, i am working with this now too and i noticed that ifi don't set the TimeSlotInterval at all itseems to default to the number of lines it can display in the given area. So i have a 12 hour span here, if i adjust that to 6 hours i can see the fifteen minute marks. At that point if i set TimeSlotInterval to ThirtyMinutes the 15 minute lines are gone. So it seems like you can only adjust up to what can be displayed based on the available space.
DateTime time = _dayView.FirstVisibleTimeSlot.StartTime;TimeSpan ts = new TimeSpan(time.Hour, time.Minute, time.Second);us.StartDate = us.CalendarInfo.ActiveDay.Date;us.StartTime = ts;us.EndDate = us.CalendarInfo.ActiveDay.Date.AddHours(23);us.EndTime = ts.Add(new TimeSpan(12, 0, 0)); us.PrintRange = SchedulePrintRange.SpecifiedDateRange;us.PrintStyle = SchedulePrintStyle.Daily;us.IncludeCalendarInfoNotesArea = true;us.TemplateDayView = new UltraDayView();us.TemplateDayView.TimeSlotInterval = TimeSlotInterval.ThirtyMinutes;//us.PrinterSettings.DefaultPageSettings.Landscape = false; //Does nothing on printing //us is the UltraSchedulePrintDocument
I hope this helps,
John
HI ,
I am new to the ultra conotrols and searching for implementing the 24 hour format in the ultradayview control. As in the ultraday view control there is 12 hour format. could you please help me to changing the time formats .
thanks in advance
Looking at my day view the time slots i see start from 12:.01 AM to 11:59 PM.
Hi,
Generally while using the ultradayview control , the default settings is in 12 hour format i.e 12:.01 AM to 11:59 PM. But is there any way to change the time format into 24 hours( 00.01 to 23.59 ) as i found in one application where there are using both 12 hour and 24 hour format for displaying the timeslots in the day view control.Could you please provide me the code.
Did you ever find out how to do this?
Who are you asking? I laid out what i found when working on this.
Sorry, I was asking if the guy ever figured out how to set the time to 24 hour instead of AM/PM as I can't seem to find out how.