<%@ page language="C#" autoeventwireup="true" inherits="Learn_QuestionAdd, App_Web_motn9een" stylesheettheme="Themes" theme="Themes" %>

<!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 id="Head1" runat="server">
    <title>添加问题</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <base target="_self"></base>
    <script type="text/javascript" src="../Js/Common.js"></script>

<script type="text/javascript" src="../js/jquery.js"></script>

    <script type="text/javascript" src="../js/jquery.pngFix.pack.js"></script>

    <script type="text/javascript" src="../js/WebValidator.js"></script>

    <script type="text/javascript" src="../js/InterfaceContrl.js"></script>
       <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
<style type="text/css">
    html
    {
        overflow-x: hidden;
    }
    ul
    {
    	list-style:none;
    	margin:0;
    	padding:0;
    }
    ul li
    {
    	float:left;
    	padding:0;
    	margin:2px;
    }
</style>
</head>
<body style="background-color:#deeffa;">
    <form id="form1" runat="server" >
    <table style="width:450px; background-color:#deeffa;" cellpadding="5" cellspacing="0" >
    <tr>
    <td style="width:100px;" align="right">分类：</td>
    <td style="width:330px;"><asp:DropDownList ID="ddlClass" runat="server">
            </asp:DropDownList></td></tr>
    <tr>
    <td style="width:100px; text-align:right;">标题：</td>
    <td style="width:330px;"><asp:TextBox ID="txtTitle" runat="server" Width="320px" MaxLength="40"></asp:TextBox></td></tr>
    <tr>
    <td style="width:100px;"  align="right">提问内容：</td> 
    <td>
        <asp:TextBox ID="tbxMess1" runat="server" TextMode="MultiLine" Width="320px" Height="113px"></asp:TextBox>
    </td></tr>
    <tr style="width:100px;"><td></td></tr> 
    <tr><td colspan="2" align="center">
        <asp:Button ID="btnOk" runat="server" Text=" 提 交 " onclick="btnOk_Click" />
            <asp:Button ID="btnReset" runat="server" Text=" 关闭 " 
                onclick="btnReset_Click" Visible="False" /></td>
    </tr>        
              
</table>
    </form>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            Validator();
        });
        function Validator() {
            $('#<%= btnOk.ClientID %>').bind('click', function() {

                return GetValidatorMessage();
            });
            $("#<%=tbxMess1.ClientID %>").textlimit(1000);
        }
    </script>
</body>
</html>
