⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 defaultvb.aspx

📁 Telerik是很大的第三方软件制造商
💻 ASPX
字号:
<%@ Register TagPrefix="radE" Namespace="Telerik.WebControls" Assembly="RadEditor" %>
<%@ 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 Language="vb" Targetschema="http://schemas.microsoft.com/intellisense/ie5" CodeBehind="DefaultVB.aspx.vb" AutoEventWireup="false" Inherits="Telerik.EditorExamplesVBNET.Editor.Examples.CleaningWordFormatting.DefaultVB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
  <head runat="server">
		<telerik:HeadTag runat="server" id="Headtag1"></telerik:HeadTag>
  </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 border="0" cellpadding="0" cellspacing="0" width="740">
				<tr valign="top">
					<td>
						<rade:radeditor
							id="editor1"
							Width="530px"
							Height="230px"
							Runat="server"
							StripFormattingOnPaste="None"

							ToolsFile="~/Editor/Examples/CleaningWordFormatting/CleaningWordFormatting.xml"

							ImagesPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							FlashPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							MediaPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							DocumentsPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"

							SaveInFile="false"></rade:radeditor>
					</td>
					<td  style="padding-left:10px">
						<div class="module">
							Use the <strong>Paste from
				Word</strong><img src="../../../RadControls/Editor/Skins/Default/Buttons/PasteFromWord.gif" alt="Paste From Word button"/>,
				<strong>Paste from Word cleaning Fonts and Sizes</strong><img src="../../../RadControls/Editor/Skins/Default/Buttons/PasteFromWordNoFontsNoSizes.gif" alt="Paste From Word No Fonts No Sizes button"/>,
				or <strong>Paste Plain Text</strong><img src="../../../RadControls/Editor/Skins/Default/Buttons/PastePlainText.gif" alt="Paste Plain Text button"/>
				tools to strip and paste text copied
				from MS Word.<br/>
				If you copy from Word and click the regular Paste or Ctrl+V
				a dialog will prompt you for format stripping.<br/>
				Use the <strong>Format Stripper</strong><img src="../../../RadControls/Editor/Skins/Default/Buttons/FormatStripper.gif" alt="Format Stripper tool icon"/>
				to remove Word-formatting from existing text in the
				r.a.d.<strong>editor</strong>.<br/>
							<img style="BORDER-TOP-WIDTH:0px; BORDER-LEFT-WIDTH:0px; BORDER-BOTTOM-WIDTH:0px; BORDER-RIGHT-WIDTH:0px" src="../../../Img/cleaningWordSweeper.gif" alt="Format Stripper Demo"/>
						</div>
					</td>
				</tr>
				<tr valign="top">
					<td>&nbsp;</td>
					<td></td>
				</tr>
				<tr valign="top">
					<td>
						<rade:radeditor
							id="editor2"
							Width="530px"
							Height="157px"
							Runat="server"
							Editable="true"
							ToolsFile="~/Editor/Examples/CleaningWordFormatting/CleaningWordFormatting2.xml"

							ImagesPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							UploadImagesPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							DeleteImagesPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"

							FlashPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							UploadFlashPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							DeleteFlashPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"

							MediaPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							UploadMediaPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							DeleteMediaPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"

							DocumentsPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							UploadDocumentsPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"
							DeleteDocumentsPaths="~/Editor/Img/UserDir/Marketing,~/Editor/Img/UserDir/PublicRelations"

							AllowThumbGeneration="true"
							ThumbAppendix="thumb"

							StripFormattingOnPaste="MSWordNoFonts"

							SaveInFile="false"></rade:radeditor>
					</td>
					<td  style="padding-left:10px">
				<div class="module">The MS Word formatting of the text pasted here will be
				removed automatically.<br/><br/>This is done by setting the
				<strong>StripFormattingOnPaste</strong> property to
				<strong>MSWordNoFonts</strong>.<br/><br/>The enumeration values are:<br/>
				None<br/> MSWord (retains fonts and sizes)<br/> MSWordNoFonts<br/> MSWordRemoveAll<br/>
				Css<br/> Font<br/> Span<br/> All</div>
					</td>
				</tr>
			</table>

			<telerik:Footer runat="server" id="Footer1"></telerik:Footer>
		</form>
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -