SchedulerEditableSettingsBuilder
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"))
)
TemplateView(System.Web.Mvc.MvcHtmlString)
The view which contains the template which renders the editor.
Parameters
template - System.Web.Mvc.MvcHtmlString
The template view
Example
@(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
.Name("scheduler")
.Editable(e=>e.TemplateView(Html.Partial("Template")))
)
TemplateHandler(System.String)
Parameters
template - System.String
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>
Example
@(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.Screening>()
.Name("scheduler")
.Editable(e=>e.Window(w=>w.Content("Window Content")))
)