📄 defaultvb.aspx
字号:
<%@ Register TagPrefix="radS" Namespace="Telerik.WebControls" Assembly="RadSpell" %>
<%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" Assembly="Telerik.QuickStart" %>
<%@ Page CodeBehind="DefaultVB.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="Telerik.SpellExamplesVBNET.DifferentDictionaries.DefaultVB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<telerik:HeadTag runat="server" ID="Headtag1"></telerik:HeadTag>
<style type="text/css">
.button
{
width:320px;
text-align:center;
text-decoration:none;
padding-top:2px;
}
</style>
</head>
<body class="BODY">
<form runat="server" id="mainForm" method="post" style="WIDTH:100%">
<telerik:Header runat="server" ID="Header1" NavigationLanguage="VB"></telerik:Header>
<table width="90%">
<tr>
<td class="text">
<p>In this example we will separate John's custom dictionary from Sally's. We have to set up the second instance of RadSpell with a different CustomAppendix - "-John" in our case.</p>
<p>NOTE: Make sure the ASP.NET user account has write permissions for en-US-Sally.txt and en-US-John.txt in "~/RadControls/Spell/TDF/"</p>
<asp:TextBox ID="textBox1" Runat="server" Rows="5" Columns="50" TextMode="MultiLine">Thisz is a server side TextBox with some delibirate mistakees.</asp:TextBox>
<br/><br/>
<radS:RadSpell ID="Radspell1" Runat="server" ControlToCheck="textBox1" ButtonLabel="Spellcheck with the Default(John's) custom dictionary" ButtonType="LinkButton" ButtonCssClass="button" CustomAppendix="-John" /><br/><br/>
<radS:RadSpell ID="Radspell2" Runat="server" ControlToCheck="textBox1" ButtonLabel="Spellcheck with a different custom dictionary" ButtonType="LinkButton" ButtonCssClass="button" CustomAppendix="-Sally"/><br/>
</td>
</tr>
</table>
<telerik:Footer runat="server" ID="Footer1"></telerik:Footer>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -