<%@ page language="C#" autoeventwireup="true" inherits="pfile_tjpl, App_Web_xcn_tr2u" %>

<!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>
    <style type="text/css">
        ul{margin:0px;padding:0px;list-style:none;}
    </style>

    <script type="text/javascript">
        function wk()
        {
            var dfd=true;
            if(document.getElementById('TextBox1').value=='')
            {
                alert('评论不能为空！');
                dfd=false;
            }
            return dfd;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 670px;overflow :auto ;">
            <div style="font-size: 10pt; font-weight: bold; ">
                对文件《<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>》发表评论<asp:Label
                    ID="Label2" runat="server" Text="Label" Style="display: none"></asp:Label>
            </div>
            <div style="margin-top: 10px">
                <ul>
                    <li>
                        <asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" Height="239px" Width="660px"></asp:TextBox></li>
                    <li style="text-align: right; margin-top: 10px">
                        <asp:Button ID="Button1" runat="server" Text="确 认" OnClick="Button1_Click"  OnClientClick="wk()" /><input
                            type="button" value="退 出" onclick="javascript:window.close()" />
                        &nbsp;&nbsp; &nbsp;</li></ul>
            </div>
        </div>
    </form>
</body>
</html>
