Hello,
I am working with the UltraCalendar control, and was wanting to see if there was a way to include an end date on an UltraCalendarInfo element.
Currently, whenever I add an appointment to the calendar, I can see the date that the event started (denoted by an arrow pointing to the left, followed by the date), but cannot see a corresponding end date.
I am setting a new appointment's start- and end-dates, or updating an existing appointment's start- and end-dates, and then adding that appointment to the UltraCalendarInfo's Appointments list, like so:
Dim appt As Appointment If existingAppt IsNot Nothing Then appt = existingAppt appt.StartDateTime = beginTime appt.EndDateTime = endTime Else appt = New Appointment(beginTime, endTime) uci.Appointments.Add(appt) End If
The code continues on and sets the appointment's background colors and border color, but none of the fields that are set appear to affect the data displayed on the UltraCalendarInfo node.
Any assistance in this matter would be appreciated. Thank you!
-Seth
Hi Seth,
I cannot think of anything that would cause this right now. Could you please try to attach if possible a small sample project reproducing the above mentioned issue, I will be happy to take a look at it.
What I'm curious about on that is that I am docking the control (which, as I look at it, was not an UltraCalendar, but an UltraDayView, sorry about that...) to fill the window. So, I don't think that the length would be an issue. I do have other properties set differently than their defaults, but nothing other than background colors, and the TimeSlotInterval. Adjusting the width does not appear to have done anything, simply because I'm docking the control programatically when the window loads.
Do you know if there are any other properties that would cause this issue?
Thank you!
Hi,
You need to have the control sized properly(width). Please increase the width and you will see this result.
If this is not the case, please let me know.
That is exactly what I want to do. What do I need to do to have that display?
Hello Seth,
Please take a look at my screenshot, I have both arrows showing with exact indications of start and end time. Is not that what you want? Please let me know.