Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
How to make UltraDayView/UltraWeekView ReadOnly
posted

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

Parents
No Data
Reply
  • 23930
    Suggested Answer
    Offline posted

    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.

    WS_ReadOnlyOwner.zip
Children