When I click a tool bar button, I'm supposed to create a new appointment in ultradayview with the current time and half hour slot.
I'm doing the following:
Dim day = udvMasterDay.CalendarInfo.ActiveDay.Date Dim time = Now udvMasterDay.SelectedTimeSlotRange.SetRange(day.AddHours(time.Hour), day.AddHours(time.Hour).AddSeconds(1800)) udvMasterDay.EnsureTimeSlotVisible(DateTime.Now, True)
How do I get the owner of the selectedtimeslot in the calendar? I need to pass the owner to a form that will open from the calendar.
If I use the udvMasterDay.getownerfrompoint(), how do I get the coordinates of the selected timeslot?
Can you please guide. thank you
Hello Lakshimi,
Since control is designed to display multiple days/time as well as multiple owners there is no one-to-one relationship between a TimeSlot and a date/timeslots.
You can have a look at this post discussing the same scenario.https://ko.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/4587/timeslot-owner
Let me know if you have any question.