New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the Telerik UI TileLayout for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the TileLayout class.

C#
public TileLayoutEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The client events.

Methods

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the TileLayout is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public TileLayoutEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

TileLayoutEventBuilder

Defines the handler of the Reorder client-side event. Fired when a tile item is reordered.

C#
public TileLayoutEventBuilder Reorder(string handler)
Parameters:handlerstring

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

Returns:

TileLayoutEventBuilder

Example:
C#
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events =&gt; events.Reorder("onReorder"))
)

Defines the handler of the Resize client-side event. Fired when a tile item is resized.

C#
public TileLayoutEventBuilder Resize(string handler)
Parameters:handlerstring

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

Returns:

TileLayoutEventBuilder

Example:
C#
@(Html.Kendo().TileLayout()
.Name("tilelayout")
.Events(events =&gt; events.Resize("onResize"))
)