Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public event EventHandler<ControlResolveEventArgs> CheckedElementResolve

Event Data

The CheckedElementResolve event's data class is ControlResolveEventArgs. 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