... on a per appointment basis.
That is to say, when I'm handling the AppointmentDataBound event, I do some tests to check whether, for that appointment, the user has sufficient rights to edit or delete an appointment and I set up the context menu accordingly. I'd like, when the user has insufficient rights to delete the appointment, to hide the delete button too.
So far all I've found are suggestions on how to hide it for all appointments.
Any suggestions?
--
Stuart
That is to say, when I'm handling the AppointmentDataBound event, I do some tests to check whether, for that appointment, the user has sufficient rights to edit or delete an appointment and I set up the context menu accordingly. I'd like, when the user has insufficient rights to delete the appointment, to hide the delete button too.
So far all I've found are suggestions on how to hide it for all appointments.
Any suggestions?
--
Stuart