我使用kindeditor富文本编辑器,为什么textarea runat="server"时,textarea没有显示
把 runat="server"去掉 textarea的编辑框就出来了?
kindeditor给的asp.net示范文件中 的 textarea runat="server"可以显示 为什么我的不行?
还有 示范文件中。没有XXXXX.aspx.designer.cs这个
代码--------------------引用的
<link href="kindeditor/themes/default/default.css" rel="stylesheet" type="text/css" />
<link href="kindeditor/plugins/code/prettify.css" rel="stylesheet" type="text/css" />
<script src="kindeditor/kindeditor.js" type="text/javascript"></script>
<script src="kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script src="kindeditor/plugins/code/prettify.js" type="text/javascript"></script>
<script src="js/jquery-1.4.2-vsdoc.js" type="text/javascript"></script>
<script type="text/javascript">
var editor1
KindEditor.ready(function (K) {
editor1 = K.create('#beizhu', {
// themeType: 'simple',
// resizeType: 1,
cssPath: '../kindeditor/plugins/code/prettify.css',
uploadJson: '../kindeditor/aspnet/upload_json.ashx',
fileManagerJson: '../kindeditor/aspnet/file_manager_json.ashx',
// allowFileManager: true,
// afterBlur: function(){this.sync();}
// });
// prettyPrint();
// });
allowFileManager: true,
afterCreate: function () {
var self = this;
K.ctrl(document, 13, function () {
self.sync();
K('form[name=example]')[0].submit();
});
K.ctrl(self.edit.doc, 13, function () {
self.sync();
K('form[name=example]')[0].submit();
});
}
});
prettyPrint();
});