Spell - Inside a User Control

Please spell check me before submission:

There goes another one...

Please spell check me before submission:
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

This form hosts two instances of a user control that contains RadSpell

  • DefaultCS.aspx
  • spellcontrol.ascx
  • DefaultCS.aspx.cs
<%@ Page Title="" Language="C#"  AutoEventWireup="true"
    CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.Spell.UserControl.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="uc1" TagName="spellcontrol" Src="~/Spell/Examples/Programming/UserControl/spellcontrol.ascx" %>
<!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">
        <uc1:spellcontrol ID="SpellControl1" runat="server"></uc1:spellcontrol>
        <p>
            There goes another one...
        </p>
        <uc1:spellcontrol ID="SpellControl2" runat="server"></uc1:spellcontrol>
    </div>
    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?