Skip to main content

ASPxClientSpellChecker.CheckElementsInContainer(containerElement) Method

Starts checking the contents of controls in the specified container.


    containerElement: any
): void


Name Type Description
containerElement any

An object representing a control which contains elements being checked.


Checks contents of all elements within a specified container. Use the ASPxClientControlBase.GetMainElement function of DevExpress ASP.NET controls, to get the container element that encompasses controls located in that area.

To avoid checking a control, you should handle the client-side ASPxClientSpellChecker.BeforeCheck event, analyze the ASPxClientSpellCheckerBeforeCheckEventArgs.controlId parameter and set the e.Cancel parameter to true for the desired control.

See Also