Online Documentation
- Introducing ASPSpellCheck
- Introduction to ASPSpellCheck
- What's New
- Getting Started
- Installation and Settings
- Installation Process
- Compatibility
- Installing Dictionaries
- Your Custom Dictionary
- Enforcing Spelling Corrections
- The Settings File
- Usage
- Basics
- ASPSpellLink Class
- Properties
- caseSensitive
- checkGrammar
- dictionary
- dialogLanguage
- doneMessage
- externalCSS
- fields
- hideSummary
- ignoreAllCaps
- ignoreNumbers
- ignoreWebAddresses
- javaScriptCallback
- newSentanceOnEachNewLine
- useSession
- ASPSpellPath
- Methods
- buttonHTML
- buttonXHTML
- imageButtonHTML
- imageButtonXHTML
- linkHTML
- spellingCheck
- spellingSuggestions
- url
- Notes for Advanced Developers
- ASP.Net Compatibility
- Caching
- Examples
- Basic SpellCheck
- Server Side Spellchecking
- Language Variants
- Submitting a Form
- Rich Editors
- Licenses & Registration
- Free Trial
- Registering
- License Agreement
ASPSpellLink.newSentenceOnEachNewLine
This Boolean property is used to decide if the spell-check dialog will expect a new sentence after each carriage return (new line).
This is useful to ensure proper grammar as per a word-processor, but may not be appropriate for more 'casual' web forms.
The default value is defined in the settings file.
Example
If you wanted to your spellchecker to not expect a new sentence on each new line of the document:
<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<textarea id= "MyTextArea" name="MyTextArea" cols="30" rows="10" >
Hello World.
</textarea >
<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea" ' sets an object ID to be spellchecked
myLink.newSentenceOnEachNewLine = false
'less formal grammar
response.write myLink.imageButtonHTML("","","") 'renders a button
set myLink = nothing 'closes the class
%>
