New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Inside a User Control

Please spell check me before submission:

There goes another one...

Please spell check me before submission:

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

  • DefaultVB.aspx
  • spellcontrol.ascx
  • DefaultVB.aspx.vb
<%@ Page Title="" Language="vb"  AutoEventWireup="true"
    CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.Spell.UserControl.DefaultVB" %>

<%@ 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>
<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>

Support & Learning Resources

Find Assistance