2017-11-23 13:16:05 +08:00

30 lines
1.4 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUI.Examples.form
{
public partial class htmleditor : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
HtmlEditor1.Text = "FineUI开源版<br>基于 ExtJS 的开源 ASP.NET 控件库。<br><br>FineUI的使命<br>创建 No JavaScriptNo CSSNo UpdatePanelNo ViewStateNo WebServices 的网站应用程序。<br><br>支持的浏览器<br>Chrome、Firefox、Safari、IE 8.0+<br><br>授权协议<br>Apache License v2.0<br>注ExtJS 库在 GPL v3 协议下发布(http://www.sencha.com/license)。<br><br>相关链接<br>论坛:<a href=\"http://fineui.com/bbs/\">http://fineui.com/bbs/</a><br>示例:<a href=\"http://demo.fineui.com/\">http://demo.fineui.com/</a><br>文档:<a href=\"http://fineui.com/doc/\">http://fineui.com/doc/</a><br>下载:<a href=\"http://fineui.codeplex.com/\">http://fineui.codeplex.com/</a><br><br>";
}
}
protected void Button1_Click(object sender, EventArgs e)
{
TextArea1.Text = HtmlEditor1.Text;
}
protected void Button2_Click(object sender, EventArgs e)
{
HtmlEditor1.Text = TextArea1.Text;
}
}
}