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.buttonXHTML(buttonText,CSSclass)
The method buttonXHTML returns a W3C compliant XHTML string which can be used to add an XHTML button to your ASP page. When this button is clicked, the ASPSpellCheck dialog will be opened.
Example button:
![]()
The parameter buttonText represents the ALT text for the button. If set empty string (e.g. "") the default value will be "Spell Check"
The parameter CSSclass allows you to nominate a CSS class to be applied to the button. If set to and empty string (") then no CSS class will be applied.
ASP VBScript Source Code:
<!--#include virtual="/ASPSpellCheck/ASPSpellInclude.inc"-->
<textarea id="MyTextArea" name="MyTextArea" cols="30" rows="10" >Hello World. Ths izateztsampl. </textarea >
<%
dim myLink
set myLink = new AspSpellLink
myLink.fields="MyTextArea"
response.write myLink.ButtonXHTML("Spell Check","myButtonClass")
' renders an XHTML button
set myLink= nothing
%>
Result:

