ASPxSpellChecker.CheckedElementResolve Event

Occurs when client-side scripts are created and the identifier of a control to be checked is queried.

Namespace: DevExpress.Web.ASPxSpellChecker

Assembly: DevExpress.Web.ASPxSpellChecker.v19.2.dll

Declaration

public event EventHandler<ControlResolveEventArgs> CheckedElementResolve
Public Event CheckedElementResolve As EventHandler(Of ControlResolveEventArgs)

Event Data

The CheckedElementResolve event handler receives an argument of the ControlResolveEventArgs type. The following properties provide information specific to this event.

Property Description
ControlID Gets the ID value of a control that should be resolved.
ResolvedControl Gets or sets the control relating to the event.

Remarks

You should handle this event to provide a correct checkedElementID for the spellchecker's client script. Set the ControlResolveEventArgs.ResolvedControl to the target control of the spell check, as the following code snippet illustrates:


protected void ASPxSpellChecker1_CheckedElementResolve(object sender, 
    DevExpress.Web.ControlResolveEventArgs e)
{
    e.ResolvedControl = TextBox1;
}
See Also