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

📄 ajax与freetextbox解决方案 - bolik‘s aio blog - 博客园.htm

📁 Ajax与FreeTextBox解决方案
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; }</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">}</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white"></SPAN>&nbsp;</P></DIV>
<DIV 
style="FONT-SIZE: 10pt; BACKGROUND: #f8f8f8; COLOR: black; FONT-FAMILY: consolas">
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">宿主用户控件:</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white">HtmlEditorWrapper.ascx</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white"></SPAN>&nbsp;</P>
<DIV 
style="FONT-SIZE: 10pt; BACKGROUND: #f8f8f8; COLOR: black; FONT-FAMILY: consolas">
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: yellow">&lt;%</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">@</SPAN><SPAN style="BACKGROUND: white"> 
</SPAN><SPAN style="BACKGROUND: white; COLOR: maroon">Control</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Language</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="C#"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">AutoEventWireup</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="true"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">CodeFile</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="HtmlEditorWrapper.ascx.cs"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Inherits</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="AIO.WITWeb.HtmlEditorWrapper"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: yellow">%&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">DropDownList</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">ID</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="EditorTypeDropDownList"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">runat</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="server"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">AutoPostBack</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="true"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Visible</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="false"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">OnSelectedIndexChanged</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="EditorTypeDropDownList_OnSelectedIndexChanged"&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Text</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="FCKEditor"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Value</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="~/UserControls/FCKEditorPage.aspx"&gt;&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Text</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="FreeTextBox"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Value</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="~/UserControls/FreeTextBoxPage.aspx"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Selected</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="True"&gt;&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Text</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="CuteEditor"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Value</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="~/UserControls/CuteEditorPage.aspx"&gt;&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ListItem</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">DropDownList</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Ajax</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">UpdatePanel</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">ID</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="EditorIFrameUpdatePanel"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">runat</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="server"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">UpdateMode</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="Conditional"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">RenderMode</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="Block"&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Triggers</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; &nbsp; 
</SPAN><SPAN style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Ajax</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">AsyncPostBackTrigger</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">ControlID</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="EditorTypeDropDownList"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">EventName</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="SelectedIndexChanged"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Triggers</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ContentTemplate</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; &nbsp; 
</SPAN><SPAN style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">asp</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">HiddenField</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">ID</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="HtmlEditorHiddenField"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">runat</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="server"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; &nbsp; 
</SPAN><SPAN style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">AIO</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">IFrame</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">ID</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="EditorIFrame"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">runat</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="server"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Height</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="350px"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Scroll</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="No"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">Width</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="100%"</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">ContentTemplate</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Ajax</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">:</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">UpdatePanel</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px">&nbsp;</P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">script</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">type</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">="text/javascript"&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: navy">var</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">iframeids</SPAN><SPAN 
style="BACKGROUND: white">=[</SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">"EditorIFrame"</SPAN><SPAN 
style="BACKGROUND: white">]</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: navy">var</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">iframehide</SPAN><SPAN 
style="BACKGROUND: white">=</SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">"yes"</SPAN></P>
<P style="MARGIN: 0px">&nbsp;</P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: navy">function</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">dyniframesize</SPAN><SPAN 
style="BACKGROUND: white">() </SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">{</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: navy">var</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">dyniframe</SPAN><SPAN 
style="BACKGROUND: white">=</SPAN><SPAN 
style="BACKGROUND: white; COLOR: navy">new</SPAN><SPAN 
style="BACKGROUND: white"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">Array</SPAN><SPAN 
style="BACKGROUND: white">()</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: navy">for</SPAN><SPAN 
style="BACKGROUND: white"> (</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">i</SPAN><SPAN 
style="BACKGROUND: white">=0; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">i</SPAN><SPAN 
style="BACKGROUND: white">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">iframeids</SPAN><SPAN 
style="BACKGROUND: white">.</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">length</SPAN><SPAN 
style="BACKGROUND: white">; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">i</SPAN><SPAN 
style="BACKGROUND: white">++)</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; {</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: navy">if</SPAN><SPAN style="BACKGROUND: white"> 

⌨️ 快捷键说明

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