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
Hello Seth,
What control are you using? Could you please also post a screenshot of what you mean by indication of the start date and what you want to have in the end date?I will be glad to assist you further on that matter!
Hello Boris,
I'm using the UltraCalendar control, having trouble specifically with the UltraCalendarInfo class.
Essentially, what I want is for the end date to appear on the right hand side of the node created by the UltraCalendarInfo class, with some sort of indication that it is the end date (along with an arrow pointing in the other direction from the one to the left of the start date). That may be a confusing explanation of what I am expecting. If so, please let me know, and I will try to clarify.
Thank you!
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
I am in the process of creating a sample project that behaves similarly to the original project, without giving you too much of the original system, because it is extensive. I have had bigger enhancements that needed to be made to other systems, so this one got pushed to the back burner for a little while.
I hope to have a sample for you by the end of the day today.
I will be waiting for it. Thank you for taking the time to make the sample, I appreciate it.
I completed the simplified solution, but I fear it is going to raise more questions on my end than it answers, because the arrows are showing up as expected. So, I will be adding pieces back to it bit-by-bit until I determine the root cause for the issue. That being said, I won't attach the current solution, but will instead wait until such time as I re-encounter the issue again. Hopefully, I will be able to fix the issue myself, but, if not, I will come back and attach the solution for you. If I can figure out what the issue is, I will post it here as the answer.
Thank you for your patience and assistance!
I hope that it will be working in the future also, if it is not, we will be happy to assist on that matter.