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

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

Definition

Constructors

Initializes a new instance of the CitationEventBuilder class.

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

The Citation event handlers.

Methods

Defines the handler of the Open client-side event. Fired before the sources popover opens. Calling e.preventDefault() prevents the popover from being shown.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public CitationEventBuilder Open(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

CitationEventBuilder

Returns the current instance of CitationEventBuilder .

Defines the handler of the Open client-side event. Fired before the sources popover opens. Calling e.preventDefault() prevents the popover from being shown.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public CitationEventBuilder Open(string handler)
Parameters:handlerstring

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

Returns:

CitationEventBuilder

Returns the current instance of CitationEventBuilder .