New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Events
The Telerik UI Signature for ASP.NET Core exposes multiple events that allow you to control and customize the behavior of the UI component.
For a complete example on basic Signature events, refer to the demo on using the events of the Signature.
Handling by Handler Name
The following example demonstrates how to subscribe to events by handler name.
Razor
@(Html.Kendo().Signature()
.Name("signature")
.Events(e => e
.Open("signature_open")
.Close("signature_close")
.Change("signature_change")
)
)
Handling by Template Delegate
The following example demonstrates how to subscribe to events by a template delegate.
Razor
@(Html.Kendo().Signature()
.Name("signature")
.Events(e => e
.Open(@<text>
function() {
// Handle the open event inline.
}
</text>)
.Change(@<text>
function() {
// Handle the change event inline.
}
</text>)
)
)