Spell - Finding Server Controls


Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

You can easily attach RadSpell to a TextBox control by setting the "ControlToCheck" property to the ID of the TextBox control.

  • DefaultCS.aspx
<%@ Page  %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-narrow">
        <asp:TextBox ID="textBox1" runat="server" Width="100%" Height="100px" TextMode="MultiLine">Thisz is a server side TextBox with some delibirate mistakees.</asp:TextBox>
        <br />
        <telerik:RadSpell RenderMode="Lightweight" ID="spell1" runat="server" ControlToCheck="textBox1"></telerik:RadSpell>
    </div>
    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?