QuickStart | Installation Guide | Object Reference | Example Code | Registration

Example Code (ASPX File)

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sample.aspx.cs" Inherits="Sample" %>
<%@ Register Assembly="AspNetSpell.NET2" Namespace="AspNetSpell" TagPrefix="AspNetSpell" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
 <
head runat="server">
   <title>ASPNetSpell Sample</title>
  </
head>
  <
body>
   <form id="form1" runat="server">
     <div>

        <asp:TextBox ID="TextBox1" runat="server" Height="300px" TextMode="MultiLine" Width="400px"></asp:TextBox>
        <AspNetSpell:SpellCheckID="SpellCheck1" runat="server" FieldsToSpellCheck="TextBox1"></AspNetSpell:SpellCheck>

     </div>
   
</form>
  </
body>
</
html>

 

Note: The assemble name will be AspNetSpell.NET1 , AspNetSpell.NET2 or AspNetSpell.NET3 depending on the version of the DLL installed.