Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Expand]DevExpress.Web.ASPxRichEdit
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Collapse]DevExpress.Web.ASPxSpellChecker
   [Expand]ASPxHunspellDictionary Class
   [Collapse]ASPxSpellChecker Class
     ASPxSpellChecker Members
     ASPxSpellChecker Constructor
    [Expand]ASPxSpellChecker Properties
    [Collapse]ASPxSpellChecker Events
      CheckedElementResolve Event
      ClientLayout Event
      CustomDictionaryLoading Event
      CustomJSProperties Event
      NotInDictionaryWordFound Event
      PrepareSuggestions Event
      WordAdded Event
    [Expand]ASPxSpellChecker Methods
   [Expand]ASPxSpellCheckerBaseSettings Class
   [Expand]ASPxSpellCheckerCustomDictionary Class
   [Expand]ASPxSpellCheckerDictionary Class
   [Expand]ASPxSpellCheckerDictionaryBase Class
   [Expand]ASPxSpellCheckerISpellDictionary Class
   [Expand]ASPxSpellCheckerOpenOfficeDictionary Class
   [Expand]ASPxSpellCheckerSpellingSettings Class
   [Expand]ASPxSpellCheckerTextSettings Class
   [Expand]CustomDictionaryLoadingEventArgs Class
    CustomDictionaryLoadingEventHandler Delegate
   [Expand]SpellCheckerButtonStyles Class
   [Expand]SpellCheckerClientSideEvents Class
   [Expand]SpellCheckerDialogFormStyles Class
   [Expand]SpellCheckerDialogSettings Class
   [Expand]SpellCheckerDictionaryCollection Class
   [Expand]SpellCheckerEditorImages Class
   [Expand]SpellCheckerFormsSettings Class
   [Expand]SpellCheckerStyles Class
   [Expand]WebDictionary Class
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

ASPxSpellChecker.CustomDictionaryLoading Event

Fires when a custom dictionary is loading into a session.

Namespace:DevExpress.Web.ASPxSpellChecker
Assembly:DevExpress.Web.ASPxSpellChecker.v17.2.dll

Expanded Syntax

Expanded Event Data

The event handler receives an argument of type CustomDictionaryLoadingEventArgs containing data related to this event.

The following CustomDictionaryLoadingEventArgs properties provide information specific to this event.
Property Description
CustomDictionary Gets the custom dictionary to be loaded.

Expanded Remarks

Handle the CustomDictionaryLoading event and use the ASPxSpellCheckerCustomDictionary.LoadFromStream method to load a custom dictionary, other than the default.

To save a custom dictionary when a word is added to it, handle the WordAdded event.

Show Me

A complete sample project is available in the DevExpress Code Examples database at http://www.devexpress.com/example=E3002.

The following code snippet illustrates that you can handle the CustomDictionaryLoading event to load a custom dictionary from a stream. Note that the ASPxSpellChecker control already has an ASPxSpellCheckerCustomDictionary object in its collection of dictionaries. When the custom dictionary is loading, it fires an event allowing you to load a user-specific dictionary.

Expanded See Also

How would you rate this topic?​​​​​​​