<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Default.aspx.cs" Inherits="ClientBasics._Default" %>

<%@ Register Assembly="RadSpell.Net2" Namespace="Telerik.WebControls" TagPrefix="radS" %>
<!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>Untitled Page</title>
</head>
<body>

  <script type="text/javascript">
  //<!--
    function spellCheck()
    {
      var RadSpell1 = GetRadSpell('<%= RadSpell1.ClientID %>');
      RadSpell1.ControlToCheck = "Text1"; 
      var dialog = RadSpell1.GetDialogOpener(); 
      dialog.UseClassicDialogs = true;
      RadSpell1.StartSpellCheck(); 
    }   
  //-->
  </script>
  <form id="form1" runat="server">
    <div>
      <radS:RadSpell ID="RadSpell1" runat="server" ButtonType="None" 
        IsClientID="True"></radS:RadSpell>
      <input id="Button1" type="button" value="Spell Check" onclick="spellCheck()" />
      <br />
      <input id="Text1" type="text" value="Thsi iss mispeld" />
    </div>
  </form>
</body>
</html>
