New to Telerik UI for ASP.NET Core? Download free 30-day trial

SchedulerEditableSettingsBuilder

Defines the fluent interface for configuring the SchedulerEditableSettings.

Methods

Create(System.Boolean)

If set to true the user can create new events. Creating is enabled by default.

Parameters

create - System.Boolean

The create

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Create(true))
            )

Destroy(System.Boolean)

If set to true the user can delete events from the view by clicking the "destroy" button. Deleting is enabled by default.

Parameters

destroy - System.Boolean

The destroy

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Destroy(true))
            )

Update(System.Boolean)

If set to true the user can update events. Updating is enabled by default.

Parameters

update - System.Boolean

The update

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Update(true))
            )

Template(System.String)

The template which renders the editor.

Parameters

template - System.String

The template

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Template("Template"))
            )

TemplateId(System.String)

The Id of the template which renders the editor.

Parameters

templateId - System.String

The templateId

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.TemplateId("TemplateID"))
            )

TemplateName(System.String)

The EditorTemplate which to be rendered as editor.

Parameters

name - System.String

The name of the EditorTemplate

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.TemplateName("TemplateName"))
            )

Confirmation(System.String)

The text which the scheduler will display in a confirmation dialog when the user clicks the "destroy" button.

Parameters

message - System.String

The message

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Confirmation("My confirmation message!"))
            )

Resize(System.Boolean)

If set to false the resizing of the events will be disabled. Resizing is enabled by default.

Parameters

enable - System.Boolean

The resize option

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Resize(true))
            )

Move(System.Boolean)

If set to false the moving of the events will be disabled. Moving is enabled by default.

Parameters

enable - System.Boolean

The move option

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Move(true))
            )

Confirmation(System.Boolean)

If set to true the scheduler will display a confirmation dialog when the user clicks the "destroy" button. Confirmation dialog is enabled by default.

Parameters

enable - System.Boolean

The confirmation

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Confirmation(true))
            )

EditRecurringMode(Kendo.Mvc.UI.SchedulerEditRecurringMode)

Recurring events edit mode.

Parameters

editRecurringMode - SchedulerEditRecurringMode

The edit recurrence mode.

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.EditRecurringMode(SchedulerEditRecurringMode.Dialog))
            )

Window(System.Action)

Configures the Scheduler Window instance, which is used for editing of events. The configuration is optional.

Parameters

configurator - System.Action<WindowBuilder>

The window configuration.

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.Window(w=>w.Content("Window Content")))
            )

AdditionalViewData(System.Object)

Provides additional view data in the editor template for that event.

Parameters

additionalViewData - System.Object

The AdditionalViewData for the EditorTemplate.

Example


            @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
                .Name("scheduler")
                 .Editable(e=>e.AdditionalViewData(new { } ))
            )

In this article
Not finding the help you need?