In certain scenarios, you might want to prevent edit or delete action in an event
only without modifying edit and delete action in other events globally. In this
case, you can utilize specific properties provided in the events object to disable
edit, delete, resize, and moving event.
Simply set those properties to True in OnEventBound
client side events.
Prevent edit and delete in specific event
DisableDelete
When you set DisableDelete to true, user will
not be able to delete the specified event, either from callout or context menu.
Delete action is disabled for the specified event
The Delete Event button will also be removed from Agenda view. In the below screenshot,
note that “Submit to printing” event do not have Delete Event button.
Delete for the specified event is disabled in Agenda view
DisableEdit
When you set DisableEdit to true, user will not
be able to open editing form for the specified event, either from callout or context
menu, thus preventing user from editing the specified event. User will also be prevented
from moving and resizing the event. In the following screenshot, note that the resizer
and move indicator is removed from the event. The Edit Event button will also be
removed from Agenda view.
Edit action is disabled for the specified event
DisableResize
In some cases, user is allowed to edit and move the event, but should be prevented
from resizing the event. In this case, you can set DisableResize to true. User will
still be able to open the editing form for the specified event and also move the
event, but he is prevented from resizing the event. The Edit Event button in Agenda
view will not be removed as well.
Resize action is disabled for the specified event
DisableMove
When you set DisableMove to true, user will still be able to open the editing form
for the specified event and also resize the event, but he is prevented from moving
the event. The Edit Event button in Agenda view will not be removed as well.
Move action is disabled for the specified event
The sample can be downloaded
here. WebScheduler.NET 2.0.1000 Build 214 above is needed to use this feature.
As you can see, the scheduler provides the same flexibility in global and specific
event level for customizing the editing properties.