SchedulerEventBuilder

Methods

Remove(System.Func)

Defines the inline handler of the remove event.

For more information see Remove event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Remove(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Remove(System.String)

Defines the name of the JavaScript function that will handle the the remove event.

For more information see Remove event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler()
                        .Name("Scheduler")
                        .Events(events => events.Remove("remove"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

PdfExport(System.Func)

Defines the inline handler of the pdfExport event.

For more information see PdfExport event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.PdfExport(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

PdfExport(System.String)

Defines the name of the JavaScript function that will handle the the pdfExport event.

For more information see PdfExport event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler()
                        .Name("Scheduler")
                        .Events(events => events.PdfExport("pdfExport"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Add(System.Func)

Defines the inline handler of the add event.

For more information see Add event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Add(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Add(System.String)

Defines the name of the JavaScript function that will handle the add event.

For more information see Add event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Add("add"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Edit(System.Func)

Defines the inline handler of the edit event.

For more information see Edit event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Edit(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Edit(System.String)

Defines the name of the JavaScript function that will handle the the edit event.

For more information see Edit event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Edit("edit"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Cancel(System.Func)

Defines the inline handler of the cancel event.

For more information see Cancel event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Cancel(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Cancel(System.String)

Defines the name of the JavaScript function that will handle the the cancel event.

For more information see Cancel event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Cancel("cancel"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Change(System.Func)

Defines the inline handler of the change event.

For more information see Change event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Change(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Change(System.String)

Defines the name of the JavaScript function that will handle the the change event.

For more information see Change event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Change("change"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Save(System.Func)

Defines the inline handler of the save event.

For more information see Save event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .Events(events => events.Save(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )            
            )
             

Save(System.String)

Defines the name of the JavaScript function that will handle the the save event.

For more information see Save event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Save("save"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

DataBound(System.Func)

Defines the inline handler of the dataBound event.

For more information see DataBound event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.DataBound(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

DataBound(System.String)

Defines the name of the JavaScript function that will handle the the dataBound event.

For more information see DataBound event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.DataBound("dataBound"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

DataBinding(System.Func)

Defines the inline handler of the dataBinding event.

For more information see DataBinding event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.DataBinding(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

DataBinding(System.String)

Defines the name of the JavaScript function that will handle the the dataBinding event.

For more information see DataBinding event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.DataBinding("dataBinding"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

MoveStart(System.Func)

Defines the inline handler of the moveStart event.

For more information see MoveStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.MoveStart(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

MoveStart(System.String)

Defines the name of the JavaScript function that will handle the the moveStart event.

For more information see MoveStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.MoveStart("moveStart"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Move(System.Func)

Defines the inline handler of the move event.

For more information see Move event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Move(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Move(System.String)

Defines the name of the JavaScript function that will handle the the move event.

For more information see Move event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Move("move"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

MoveEnd(System.Func)

Defines the inline handler of the moveEnd event.

For more information see MoveEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.MoveEnd(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

MoveEnd(System.String)

Defines the name of the JavaScript function that will handle the the moveEnd event.

For more information see MoveEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.MoveEnd("moveEnd"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

ResizeStart(System.Func)

Defines the inline handler of the resizeStart event.

For more information see ResizeStart event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.ResizeStart(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

ResizeStart(System.String)

Defines the name of the JavaScript function that will handle the the resizeStart event.

For more information see ResizeStart event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.ResizeStart("resizeStart"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Resize(System.Func)

Defines the inline handler of the resize event.

For more information see Resize event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Resize(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Resize(System.String)

Defines the name of the JavaScript function that will handle the the resize event.

For more information see Resize event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Resize("resize"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

ResizeEnd(System.Func)

Defines the inline handler of the resizeEnd event.

For more information see ResizeEnd event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.ResizeEnd(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

ResizeEnd(System.String)

Defines the name of the JavaScript function that will handle the the resizeEnd event.

For more information see ResizeEnd event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.ResizeEnd("resizeEnd"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )
             

Defines the inline handler of the navigate event.

For more information see Navigate event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag (Razor syntax).

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                       .Name("Scheduler")
                       .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
                       .Events(events => events.Navigate(
                            @<text>
                            function(e) {
                                //event handling code
                            }
                            </text>
                       ))
            )
             

Defines the name of the JavaScript function that will handle the the navigate event.

For more information see Navigate event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the event.

Example

Razor
 
             @(Html.Kendo().Scheduler<Task>()
                        .Name("Scheduler")
                        .Events(events => events.Navigate("navigate"))
                        .DataSource(d => d
                            .Model(m => m.Id(f => f.TaskID))
                                .Read("Read", "Scheduler")
                                .Create("Create", "Scheduler")
                                .Destroy("Destroy", "Scheduler")
                                .Update("Update", "Scheduler")
                        )  
            )