Hi,
I am using UltraWinSchedule controls UltraDayView/UltraWeekView with multiple owners. There are events like Drag Drop, Ctrl+Drag Drop, Drag Drop from UltraGird to UltraDayView, Appointment resizzing, Appointment editing, Mouse events.
There is a UltraGrid that displays the 2 column one owner name column and other is check box column, the check box value will decide which owner to be made ReadOnly.
For Example: If for Owner1 the check box is set to True, then in UltraDayView for Owner 1 all the events would be read-only user want be allowed to perform any operation, but for Owner 2 and Owner 3 the user can perform any operation.
Is it possible to make it Readonly that too owner specific?
Thanks,
Chitra
Also note that the Owner class exposes a (poorly named I'm afraid) 'Locked' property, which does essentially the same thing as a ReadOnly property.
Hi Dimitar,
Thank you for your reply. I tried your way and it is working as expected. Thanks!
Hi Chitra,
Thank you for posting in our forums.
What you could do in your case is to keep a list of the owners that are disabled and then cancel all the events which are fired when an appointment is modified, if the appointment owner is part of the list with the disabled owners.
I have attached a sample demonstrating the second approach.
Please let me know if you have any additional questions.