Site/Demo.aspx
(开头部分) 11KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Demo.aspx.cs" Inherits="Demo" EnableEventValidation="false" %>
<%@ Register TagPrefix="cc" Namespace="Winthusiasm.HtmlEditor" Assembly="Winthusiasm.HtmlEditor" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Demo of HTML Editor for ASP.NET AJAX - Basic Edition</title>
<style type="text/css">
body { font-family: Verdana; font-size: 8pt; margin: 10px; }
.button { font-family: Verdana; font-size: 8pt; width: 100px; height: 30px; }
.previewButton { margin-left: 10px; margin-right: 10px; margin-top: 3px; width: 75px; height: 28px; }
.radiobuttonList label { margin-right: 5px; }
.preview { width: 578px; padding: 10px; }
div#Content { width: 780px; }
table#DemoTable { width: 780px; }
td#EditorCell { width: 600px; vertical-align: top; }
td#OptionsCell { width: 180px; vertical-align: top; }
div#Options { width: 150px; margin-left: 5px; }
div#DemoControls { width: 600px; height: 25px; line-height: 25px; text-align: center; }
div#Preview { width: 598px; border: solid 1px gray; margin-top: 25px; }
div#PreviewControls { height: 35px; line-height: 35px; text-align: left; border-bottom: solid 1px gray; }
div.demoHeading { height: 25px; line-height: 25px; color: black; font-weight: bold; border-bottom: solid 1px gray; text-align: center; }
div.optionsHeading { font-size: 10pt; border: none; text-align: left; margin-left: 10px; }
div.optionsLabel { margin: 10px; font-weight: bold; }
div.optionControls { margin-left: 10px; }
div#Footer { margin-top: 10px; color: #7f9db9; font-size: 7pt; }
div#Footer { margin-top: 10px; color: black; font-size: 7pt; }
a:link.poweredby, a:visited.poweredby, a:active.poweredby { color: black; text-decoration: none; }
a:hover.poweredby { text-decoration: underline; }
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true" />
<div id="Content">
<table id="DemoTable" border="0" cellpadding="0" cellspacing="0">
<tr>
<td id="EditorCell">
<div id="EditorPanel">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" >
<Triggers>
<asp:AsyncPostBackTrigger ControlID="UpdateButton" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="ToggleModeRadioButtonList" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="ColorSchemeRadioButtonList" EventName="SelectedIndexChanged" />
<asp:AsyncPostBackTrigger ControlID="NoToolstripBackgroundImageBox" EventName="CheckedChanged" />
</Triggers>
<ContentTemplate>
<cc:HtmlEditor ID="Editor" runat="server" Height="400px" Width="600px" />
</ContentTemplate>
</asp:UpdatePanel>
<br />
后面还有 138 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。