我用TextBox 多功能编辑器(ASP.NET服务器控件),经过一晚摸索,有以下体会
1.将 bin/DXControls.dll 文件取出,放于你的项目中的 bin 文件夹里.
3、web.config文件中将 encoding 设为 gb2312,才可以正常加载JS文件,如果没有,则需要手动添加
<?xml version="1.0" encoding="gb2312"?>
<globalization
fileEncoding="gb2312"
requestEncoding="gb2312"
responseEncoding="gb2312"
culture="zh-CN"
/>
4、在page源代码加入validateRequest="false"
5、在VS.net中的工具箱中添加部件DXControls.dll,然后就可以直接拖放到页面上,把他当作textbox 控件用.
注意,如果有些网页输出,用了控制函数,则把控制函数Htm不要
this.news.Text = Htm(xx.ToString()); 改为 this.news.Text = xx.ToString();就可以了。好一切搞好。使用顺利