<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExaminationPaper_StrategyForm.aspx.cs" Inherits="RM.Web.Training.TrainingTest.ExaminationPaper_StrategyForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="../../Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/artDialog.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/artDialog/iframeTools.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table border="0" cellpadding="0" cellspacing="0" class="frm">
    <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Exam_WhetherResult")%>:
            </th>
            <td>
                <select id="IsShow" class="select" runat="server" style="width: 206px;">
                    <option value="0" onclick="chang(0)">显示</option>
                    <option value="1" onclick="chang(0)">不显示</option>
                </select>
            </td>
        </tr>
         <tr>
            <th>
                <%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Exam_NogiveResult")%>:
            </th>
            <td colspan="3">
                <script src="/Themes/Scripts/kindeditor/kindeditor-min.js" type="text/javascript"></script>
                <script type="text/javascript">
                    var editor;
                    KindEditor.ready(function (K) {
                        editor = K.create('#Textarea1', {
                            allowFileManager: true,
                            allowUpload: true,
                            uploadJson: '/WeiXin/UploadImage.ashx',
                            minHeight: 200
                        });
                    });
                </script>
                <textarea id="Textarea1" runat="server" style="width: 670px;" ></textarea>
            </td>
        </tr>
    </table>
    </div>
    <div class="frmbottom" style="margin-top: 30px;">
        <asp:LinkButton ID="Save" runat="server" class="l-btn" OnClientClick="return checkedData()"
            OnClick="Save_Click"><span class="l-btn-left">
            <img src="/Themes/Images/disk.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Save")%></span></asp:LinkButton>
        <a class="l-btn" href="javascript:void(0)" onclick="OpenClose();"><span class="l-btn-left">
            <img src="/Themes/Images/cancel.png" alt="" /><%=RM.Common.DotNetConfig.LanguageHelper.GetKey("Close")%></span></a>
    </div>
    </form>
</body>
<script type="text/javascript">
    function checkedData() {
        //同步数据到文本框
        editor.sync();
        return true;
    }
    function chang(num) {
        if (num == 0) {
            $("#Textarea1").attr("readonly", "true");
        } else {
            $("#Textarea1").attr("readonly", "false");
        }
    }
    </script>
</html>
