Skip to main content
JS

RichEditBuilder.OnLostFocus(String) Method

Assigns an event handler to the LostFocus event.

Namespace: DevExpress.AspNetCore.RichEdit

Assembly: DevExpress.AspNetCore.RichEdit.v24.2.dll

Declaration

public RichEditBuilder OnLostFocus(
    string callback
)

Parameters

Name Type Description
callback String

The name of the JavaScript function or the JavaScript function code used to handle the event.

Returns

Type Description
RichEditBuilder

The builder for the Rich Text Editor.

Remarks

The LostFocus event occurs when the control loses focus.

@(Html.DevExpress().RichEdit("richEdit")
 .OnLostFocus("function(s,e){ /* your custom actions */ }")
 // ...
See Also