这个编辑器,仅仅是一个脚本,无论使用在哪里,都是可以的.以下是示例
ASPX页面代码
<asp:TextBox id="d_content" runat="server" TextMode="MultiLine"></asp:TextBox>
<IFRAME id="eWebEditor1" frameBorder="0" width="594" scrolling="no" height="350" runat="server">
</IFRAME>
ASPX.CS后台代码:
this.d_content.Style.Add("display","none");
this.eWebEditor1.Attributes.Add("src","../eWebEditor/ewebeditor.asp?id=d_content&style=");