开发工具:vs2010
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="NewPost.aspx.cs" Inherits="JZRailBBS.NewPost" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<link rel="stylesheet" href="editor/themes/default/default.css" />
<link rel="stylesheet" href="editor/plugins/code/prettify.css" />
<script type="text/javascript" charset="utf-8" src="editor/kindeditor.js"></script>
<script type="text/javascript" charset="utf-8" src="editor/lang/zh_CN.js"></script>
<script type="text/javascript" charset="utf-8" src="editor/plugins/code/prettify.js"></script>
<script type="text/javascript">
KindEditor.ready(function (K) {
window.editor = K.create('#editor_id', {
cssPath: 'editor/plugins/code/prettify.css',
uploadJson: 'editor/asp.net/upload_json.ashx',
fileManagerJson: 'editor/asp.net/file_manager_json.ashx',
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();
});
</script>
</asp:Content>
kindeditor 在asp.net环境下,添加runat="server" 不加载界面,这个问题如何解决
注:这可能是由于有母版的问题,谁有解决这个问题经验的,指教下。