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

Defines the fluent API for configuring the Kendo Sankey for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the Sankey class.

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

The client events.

Methods

Defines the handler of the LinkClick client-side event. Fires when the user clicks a link.

C#
public SankeyEventBuilder LinkClick(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Defines the handler of the LinkEnter client-side event. Fires when the user enters a link. Similar to the mouseenter event.

C#
public SankeyEventBuilder LinkEnter(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Defines the handler of the LinkLeave client-side event. Fires when the user leaves a link. Similar to the mouseleave event.

C#
public SankeyEventBuilder LinkLeave(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Defines the handler of the NodeClick client-side event. Fires when the user clicks a node.

C#
public SankeyEventBuilder NodeClick(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Defines the handler of the NodeEnter client-side event. Fires when the user enters a node. Similar to the mouseenter event.

C#
public SankeyEventBuilder NodeEnter(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Defines the handler of the NodeLeave client-side event. Fires when the user leaves a node. Similar to the mouseleave event.

C#
public SankeyEventBuilder NodeLeave(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder