All Components


    Scheduler / Restrictions


    This demo shows how you can restrict the events and better control your resources in ASP.NET MVC Scheduler using the client-side API of the component. You can prevent not only to the drag and resize capabilities of the appointments, but also allow or not the creation of a new event or the modification of an existing one by criteria defined by you.

    For example, double click on the "Call Charlie about the project" event, change the attendee to Bob and click SAVE. This will result into an error: "This person is not available in this time period."

    You will also get an error "This person is not available in this time period.", if you change the start date of the "HR Lecture" event to 10:30 AM.

    ASP.NET MVC source

    Also available for:

    • restriction.cshtml
    • RestrictionController.cs

    Support & learning resources

    Scheduler for other technologies