A webcontrol which renders a TextBox with As-You-Type spelling support. SpellTextBox inherits all the properties and methods of TextBox, and may be single-line or multi-line.
Setup | |||
---|---|---|---|
DictionaryLanguage | string | "English (International)" | The dictionary language for the spell checker. To change the Dictionary value, you must first download a new dictionary (.dic) file , and copy it into the ~/AspNetSpellInclude/dictionaries directory. The value should match the file name (excluding the .dic extension). |
InstallationPath | string | "~/AspNetSpellInclude" | The path where you copied (installed) the AspNetSpellInclude folder into your website. It is simplest normally to keep this as ~/AspNetSpellInclude . If the InstallPath does is not correctly set, you will be given a visual warning in Visual Studio. A web path (http or https url) may be used - but you should not cross domains. |
Compatibility | |||
DeferScripts | bool | false | Defers script execution until all other scripts are complete. This aids Legacy Internet Explorer compatibility. |
BypassAuthentication | bool | false | Wherever possible avoids instantiating Windows Integrated Security (NTLM) login windows by using the iFrame AJAX method. |
Spelling | |||
AddWordsToDictionary | AddToDicType | User | Where words are saved when a user clicks the 'adds to the dictionary' feature. 'User' saves locally in the user's browser cache. 'Server' saves centrally on your server and affects all other users. 'None' disables the feature |
CaseSensitive | bool | true | iNCoRReCtLy CaSed WordS ArE CoRRectEd |
CheckGrammar | bool | true | Basic structural grammar, repeated words and capitalized new sentences are corrected. |
IgnoreAllCaps | bool | true | WORDS IN BLOCK CAPITALS ARE IGNORED |
IgnoreNumeric | bool | true | Words containing numbers such as 55BS73J or High5 are ignored |
SpellInterval | int | 888 | Timeout in milliseconds from when user stops typing until As-You-Type spellchecking occurs. Minimum value is 250. |
StrictSpellCheck | bool | true | Disalows users from ignoring banned words and enforced corrections located within: ~/AspNetSpellInclude/dictionaries/language-rules/ |
Rendering | |||
CSSTheme | string | "classic" | Visual theme for the spellchecker context menu. Refers to a folder name in ~/AspNetSpellInclude/themes/ |
MouseButton | ContentMenuClickType | RightClick | Determines which mouse button(s) will cause spelling suggestions to be shown when clicking on a mis-spelled word in the SpellTextBox. |
UserInterfaceLanguage | string | "en" | The User Interface language for the right click context menu. ASPNetSpell has translations in over 50 world languages. Custom translations can also be used. |
SpellTextBoxs retain the existing client events and properties of any other TextBox.