<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editS.aspx.cs" Inherits="webXabara_study_editS" %>
<%@ Register assembly="CheckBoxListValidator" namespace="CheckBoxListValidator" tagprefix="myCheckBoxList" %>
<!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>
    <link href="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            margin: 8px 8px 0px 0px;
        }
    </style>
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    
    <script src="/js/all.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="divWidth"></div>
        <div class="titleBg">修改家长信息<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="3600">
                            </asp:ScriptManager>
                                    </div>
        <div class="height10px"></div>
        <div>
            <table cellpadding="0" cellspacing="0" class="tableLine" style="width:100%;">
                <tr>
                    <td class="tdTitle">求教科目与目的</td>
                    <td class="tdContent">
                            <div style="padding:5px 0px 5px 0px; margin:5px 0px 5px 0px">
                            <asp:DropDownList ID="gradeList" runat="server" AutoPostBack="True" 
                                Cssclass="inputText" 
                                    onselectedindexchanged="gradeList_SelectedIndexChanged">
                            </asp:DropDownList>
                                <asp:RequiredFieldValidator  SetFocusOnError="True"  
                                ID="RequiredFieldValidator22" runat="server" 
                        ControlToValidate="gradeList" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                            </div>
                            <div runat="server" id="gradeBox">                            
                            <asp:CheckBoxList ID="gradeCheck" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
                                            class="inputText" CellPadding="3" CellSpacing="3">
                                        </asp:CheckBoxList>
                                        <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator3"
                                            ControlToValidate="teacherType" runat="server" 
                                    EnableClientScript="true" ErrorMessage="至少选择一项学科"
                                            ForeColor="#ff3300" Display="Dynamic"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                            </div>
                            </td>
                </tr>
                <tr>
                    <td class="tdTitle">学员年级</td>
                    <td class="tdContent">
                                        <asp:DropDownList ID="studyGradeList" runat="server" Cssclass="inputText">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator16"
                                            runat="server" ControlToValidate="studyGradeList" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">学员地区</td>
                    <td class="tdContent">
                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="True" RenderMode="Inline"
                                            UpdateMode="Conditional">
                                            <contenttemplate>
                        <asp:DropDownList ID="ProvinceList" runat="server" Cssclass="inputText" 
                        onselectedindexchanged="ProvinceList_SelectedIndexChanged" AutoPostBack="true">
                                    </asp:DropDownList> 
                        <asp:DropDownList ID="CityList" 
                        runat="server" Cssclass="inputText" onselectedindexchanged="cityList_SelectedIndexChanged" AutoPostBack="true">
                                        <asp:ListItem Selected="True" Value="">== 地级市==</asp:ListItem>
                                    </asp:DropDownList>
                        <asp:DropDownList ID="areaList" 
                        runat="server" Cssclass="inputText">
                                        <asp:ListItem Selected="True" Value="">== 县级市 ==</asp:ListItem>
                                    </asp:DropDownList>
                    </contenttemplate>
                                        </asp:UpdatePanel>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator7" runat="server"
                                            ControlToValidate="areaList" ErrorMessage="请选择区域" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">目前就读学校</td>
                    <td class="tdContent">
                                        <asp:TextBox ID="school" runat="server" Cssclass="inputText" Width="200px" MaxLength="30"></asp:TextBox>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">学生性别</td>
                    <td class="tdContent">
                                        <asp:RadioButtonList ID="sexList" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                            <asp:ListItem Value="男">男</asp:ListItem>
                                            <asp:ListItem Value="女">女</asp:ListItem>
                                        </asp:RadioButtonList>
                                        &nbsp;<asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator15"
                                            runat="server" ControlToValidate="sexList" ErrorMessage="请选择性别" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">求教性质</td>
                    <td class="tdContent">
                                        <asp:RadioButtonList ID="studyType" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                        </asp:RadioButtonList>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator18"
                                            runat="server" ControlToValidate="studyType" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">学员情况描述</td>
                    <td class="tdContent">
                                        <asp:TextBox ID="myAbout" runat="server" Cssclass="inputText" Width="400px" MaxLength="20"
                                            Height="120px" TextMode="MultiLine"></asp:TextBox>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">教员性别要求</td>
                    <td class="tdContent">
                                        <asp:RadioButtonList ID="sexTeacher" runat="server" RepeatDirection="Horizontal"
                                            RepeatLayout="Flow">
                                            <asp:ListItem Value="男">男</asp:ListItem>
                                            <asp:ListItem Value="女">女</asp:ListItem>
                                            <asp:ListItem Value="不限">不限</asp:ListItem>
                                        </asp:RadioButtonList>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator19"
                                            runat="server" ControlToValidate="sexTeacher" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">教员身份要求</td>
                    <td class="tdContent">
                                        <asp:CheckBoxList ID="teacherType" runat="server" RepeatColumns="5" RepeatDirection="Horizontal"
                                            class="inputText" CellPadding="3" CellSpacing="3">
                                        </asp:CheckBoxList>
                                        <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator1"
                                            ControlToValidate="teacherType" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项教员身份"
                                            ForeColor="#ff3300" Display="Dynamic"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">希望授课方式</td>
                    <td class="tdContent">
                                        <asp:CheckBoxList ID="teachStudy" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                        </asp:CheckBoxList>
                                        <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator2"
                                            ControlToValidate="teachStudy" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项授课方式"
                                            ForeColor="#ff3300" Display="Dynamic"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">教员的个性化要求</td>
                    <td class="tdContent">
                                        <asp:TextBox ID="aboutTeacher" runat="server" Cssclass="inputText" Width="400px"
                                            MaxLength="20" Height="120px" TextMode="MultiLine"></asp:TextBox>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator23"
                                            runat="server" ControlToValidate="aboutTeacher" ErrorMessage="请填写请老师个性化需求" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">每周上课次课</td>
                    <td class="tdContent">
                                        <asp:RadioButtonList ID="teachWeek" runat="server" RepeatDirection="Horizontal" RepeatColumns="5"
                                            class="inputText" CellPadding="3" CellSpacing="3">
                                        </asp:RadioButtonList>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator20"
                                            runat="server" ControlToValidate="teachWeek" ErrorMessage="请选择每周上课次课" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">学习时间</td>
                    <td class="tdContent">
                                        <asp:CheckBoxList ID="studyTime" runat="server" class="inputText" CellPadding="3"
                                            CellSpacing="3" RepeatColumns="7" RepeatDirection="Horizontal">
                                        </asp:CheckBoxList>
                                        <myCheckBoxList:CheckBoxListRequiredFieldValidator ID="CheckBoxListRequiredFieldValidator4"
                                            ControlToValidate="studyTime" runat="server" EnableClientScript="true" ErrorMessage="至少选择一项学习时间"
                                            ForeColor="#ff3300" Display="Dynamic"></myCheckBoxList:CheckBoxListRequiredFieldValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">补充说明</td>
                    <td class="tdContent">
                                        <asp:TextBox ID="studyAbout" runat="server" Cssclass="inputText" Width="400px"
                                            Height="80px" TextMode="MultiLine"></asp:TextBox>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">报酬</td>
                    <td class="tdContent">
                                        <asp:TextBox ID="payMoney" runat="server" CssClass="inputTextIME" Width="50px"
                                            MaxLength="20"></asp:TextBox>
                                        &nbsp;元人民币<asp:DropDownList ID="payBit" runat="server" Cssclass="inputText">
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator SetFocusOnError="True" ID="RequiredFieldValidator21"
                                            runat="server" ControlToValidate="payMoney" ErrorMessage="*" ForeColor="#FF3300"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="payRegularExpressionValidator" runat="server"
                                            ControlToValidate="payMoney" ForeColor="#FF3300" SetFocusOnError="True"></asp:RegularExpressionValidator>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle">有无车贴</td>
                    <td class="tdContent">
                                        <asp:RadioButtonList ID="carMoney" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                                            <asp:ListItem>有</asp:ListItem>
                                            <asp:ListItem Selected="True">无</asp:ListItem>
                                            <asp:ListItem>协商</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                </tr>
                <tr>
                    <td class="tdTitle"></td>
                    <td class="tdContent">
                        <asp:Button ID="edit" runat="server" CssClass="inputBottom" 
                            onclick="edit_Click" Text="确认修改" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>