<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="Content.aspx.cs" Inherits="KstCMS.KstCMS_Manager.WebContent.uPage.Content" %>
<script type="text/javascript" src="../../xheditor1.1.6/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../../xheditor1.1.6/xheditor-1.1.6-zh-cn.min.js"></script>
<script type="text/javascript">
    $(pageInit);
    function pageInit() {
        $('#elm1').xheditor({ upLinkUrl: "../../xheditor1.1.6/UpLoad.aspx?immediate=1", upLinkExt: "doc,xls,ppt,pdf,zip,rar,txt", upImgUrl: "../../xheditor1.1.6/UpLoad.aspx?immediate=1", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "../../xheditor1.1.6/UpLoad.aspx?immediate=1", upFlashExt: "swf", upMediaUrl: "../../xheditor1.1.6/UpLoad.aspx?immediate=1", upMediaExt: "wmv,avi,wma,mp3,mid", shortcuts: { 'ctrl+enter': submitForm} });
    }

    function submitForm() { $('#form1').submit(); }
    function check() {
        document.getElementById("elm1").value = $('#elm1').val();
    }
</script>

<html>
<head runat="server">
    <title></title>


</head>
<body style="background-color:Menu">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <div class="MainBox">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background:#FFF">
  <tr>
    <td valign="top"><textarea id="elm1"  name="elm1"  rows="30"  style="width: 100%"><%=ContentStr%></textarea>
    

    </td>
  </tr>
</table>
      <table width="100%" border="0" cellspacing="0" cellpadding="6">
  <tr>
    <td align="center">
        <asp:Button ID="Button1" runat="server" Text="保 存" OnClientClick="return check();" CssClass="bigButton" /></td>
  </tr>
</table>        

    </div>

    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
    <ProgressTemplate>正在处理中，请稍候...</ProgressTemplate>
    </asp:UpdateProgress>
    </form>

</body>
</html>
