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

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

📁 Ajax与FreeTextBox解决方案
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0059)http://www.cnblogs.com/Bolik/archive/2006/11/28/575418.html -->
<HTML><HEAD 
id=Head><TITLE>Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META id=metaKeywords content=Ajax与FreeTextBox解决方案 name=keywords><LINK 
id=MainCss href="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/style.css" 
type=text/css rel=stylesheet><LINK id=RSSLink title=RSS 
href="http://www.cnblogs.com/Bolik/rss.aspx" type=application/rss+xml 
rel=alternate>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<FORM id=Form1 name=Form1 onsubmit="javascript:return WebForm_OnSubmit();" 
action=575418.html method=post>
<DIV><INPUT id=__EVENTTARGET type=hidden name=__EVENTTARGET> <INPUT 
id=__EVENTARGUMENT type=hidden name=__EVENTARGUMENT> <INPUT 
id="&#13;&#10;__VIEWSTATE" type=hidden name=__VIEWSTATE> </DIV>
<SCRIPT type=text/javascript>
<!--
var theForm = document.forms['Form1'];
if (!theForm) {
    theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
// -->
</SCRIPT>

<SCRIPT 
src="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/WebResource.axd" 
type=text/javascript></SCRIPT>

<SCRIPT language=JavaScript>
									function ctlent(evt,id)
											{
												if(evt.ctrlKey && evt.keyCode == 13)
												{	
													try
													{
														TempSave(id);
													}
													catch(ex)
													{
													}
													finally
													{
													    __doPostBack('AjaxHolder$PostComment$btnSubmit','')
													}
												}
		
												}</SCRIPT>

<SCRIPT language=JavaScript>function SetReplyAuhor(author){document.getElementById('AjaxHolder_PostComment_tbComment').value+="@"+author+"\n";document.getElementById('AjaxHolder_PostComment_tbComment').focus();return false}</SCRIPT>

<SCRIPT 
src="D:\src\net document\Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files\WebResource(1).axd" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/ScriptResource.axd" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="D:\src\net document\Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files\ScriptResource(1).axd" 
type=text/javascript></SCRIPT>

<SCRIPT type=text/javascript>
<!--
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
// -->
</SCRIPT>
<!--done-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TBODY>
  <TR>
    <TD width=299 
    background="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/banner1.jpg"></TD>
    <TD 
    background="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/banner.jpg"><!--done-->
      <DIV class=header>
      <DIV class=headerText><A class=headermaintitle id=Header1_HeaderTitle 
      href="http://www.cnblogs.com/Bolik/">Bolik‘s AIO Blog</A><BR>All In One 
      Team Blog </DIV></DIV></TD>
    <TD width=296 
    background="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/banner2.jpg"></TD></TR></TBODY></TABLE>
<DIV id=mylinks><!--done--><A class=menu id=MyLinks1_HomeLink 
href="http://www.cnblogs.com/">博客园</A>&nbsp;&nbsp;&nbsp; <A class=menu 
id=MyLinks1_MyHomeLink href="http://bolik.cnblogs.com/">首页</A>&nbsp;&nbsp;&nbsp; 
<A class=menu id=MyLinks1_NewArticleLink 
href="http://www.cnblogs.com/EnterMyBlog.aspx?NewArticle=1">新文章</A>&nbsp;&nbsp;&nbsp; 
<A class=menu id=MyLinks1_NewPostLink 
href="http://www.cnblogs.com/Bolik/admin/EditPosts.aspx?opt=1">新随笔</A>&nbsp;&nbsp;&nbsp; 
<A class=menu id=MyLinks1_Syndication 
href="http://www.cnblogs.com/Bolik/Rss.aspx">聚合</A><A id=MyLinks1_XMLLink 
href="http://www.cnblogs.com/Bolik/Rss.aspx"><IMG 
style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" 
src="Ajax与FreeTextBox解决方案 - Bolik‘s AIO Blog - 博客园.files/xml.gif"></A>&nbsp;&nbsp;&nbsp; 
<A class=menu id=MyLinks1_Admin 
href="http://www.cnblogs.com/Bolik/admin/EditPosts.aspx">管理</A> <!-- <a id="MyLinks1_ContactLink" accesskey="9" class="menu" href="http://www.cnblogs.com/Bolik/contact.aspx?id=1">联系</a>&nbsp;&nbsp;&nbsp; --></DIV>
<DIV id=mytopmenu>
<DIV id=mystats><!--done-->
<DIV class=blogStats>posts - 42,&nbsp; comments - 171,&nbsp; trackbacks - 0 
</DIV></DIV></DIV>
<DIV id=centercontent><!--done-->
<DIV class=post>
<DIV class=postTitle><A class=postTitle2 id=viewpost1_TitleUrl 
href="http://www.cnblogs.com/Bolik/archive/2006/11/28/575418.html">Ajax与FreeTextBox解决方案</A> 
</DIV>
<P>目前还不能找到与 Ajax UpdatePanel 协同工作的在线Html编辑控件线给出我在工作项跟踪管理系统中的IFrame解决方案</P>
<P>Web.config 文件中的配置</P>
<DIV 
style="FONT-SIZE: 10pt; BACKGROUND: #f8f8f8; COLOR: black; FONT-FAMILY: consolas">
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">pages</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">validateRequest</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">false</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">controls</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">add</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">tagPrefix</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Ajax</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">namespace</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Microsoft.Web.UI</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">assembly</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Microsoft.Web.Extensions, 
Version=1.0.61025.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">add</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">tagPrefix</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Ajax</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">namespace</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Microsoft.Web.UI.Controls</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">assembly</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">Microsoft.Web.Extensions, 
Version=1.0.61025.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;</SPAN><SPAN style="BACKGROUND: white; COLOR: maroon">add</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">tagPrefix</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">FTB</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">namespace</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">FreeTextBox</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">assembly</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue"><SPAN 
style="BACKGROUND: white; COLOR: blue">FreeTextBox</SPAN></SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN style="BACKGROUND: white; COLOR: blue"> 
/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &lt;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">add</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue"> </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">tagPrefix</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">WITUC</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">src</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">~/UserControls/HtmlEditorWrapper.ascx</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN></P>
<P style="MARGIN: 0px"><SPAN style="BACKGROUND: white; COLOR: blue">&nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </SPAN><SPAN 
style="BACKGROUND: white; COLOR: red">tagName</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">=</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">HtmlEditorWrapper</SPAN><SPAN 
style="BACKGROUND: white">"</SPAN><SPAN style="BACKGROUND: white; COLOR: blue"> 
/&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 
style="BACKGROUND: white; COLOR: blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&lt;/</SPAN><SPAN 
style="BACKGROUND: white; COLOR: maroon">controls</SPAN><SPAN 
style="BACKGROUND: white; COLOR: blue">&gt;</SPAN></P>
<P style="MARGIN: 0px"><SPAN 

⌨️ 快捷键说明

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