<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="pg_PrifileEdit.aspx.cs" Inherits="rl_admins_pg_EditTeacher" Title="Untitled Page" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server">
    <div class="contentDiv">
        <table border="0" cellpadding="0" cellspacing="0" >
            <tr id="Tr1">
                <td id="rightTableData" valign="top">
                    <div id="linksPanel" style="margin-right:15px; margin-top : 10px;">
                        <table id="tblpanel" border="0" cellpadding="0" cellspacing="0" style="width:200px;">
                            <tr>
                                <td id="panelheadright" class="panelheadright">
                                </td>
                                <td id="panelheadrepeat" class="panelheadrepeat" align="center" style="width:160px;">
                                    <asp:Label ID="lblpanelHead" runat="server" Text="منوی سایت" style="color:White; font-weight:bold; "></asp:Label>
                                </td>
                                <td id="panelheadleft" class="panelheadleft">
                                </td>
                            </tr>
                            <tr>
                                <td id="panelmarginright" class="panelmarginright">
                                </td>
                                <td valign="top" class="panelcontentback" style="background-image:none; background-color : White; "> <!-- ************ Content Place !-->
                                    <div class="panelcontent" style="margin-top:17px;">
                                        <asp:Panel ID="panelMenues" runat="server">
                                        </asp:Panel>
                                    </div>
                                </td>
                                <td id="panelmarginleft" class="panelmarginleft" align="left">
                                </td>
                            </tr>
                            <tr>
                                <td id="panelbottomright" class="panelbottomright" align="right" >
                                </td>
                                <td id="panelbottomrepeat" class="panelbottomrepeat" style="width:160px;">
                                </td>
                                <td id="panelbottomleft" class="panelbottomleft" align="left";>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
                <td id="contentTableData" style="width:100%; padding-right : 10px;" align="right"; valign="top"; >
                     <div id="Div1" style="margin-right:15px; margin-top : 10px; text-align:center;">
                        <table id="Table1" border="0" cellpadding="0" cellspacing="0" style="width:500px;">
                            <tr>
                                <td id="Td1" class="panelheadright">
                                </td>
                                <td id="Td2" class="panelheadrepeat" align="center" style="width:460px;">
                                    <asp:Label ID="Label1" runat="server" Text="جزئیات مشخصات مدرس" style="color:White; font-weight:bold; "></asp:Label>
                                </td>
                                <td id="Td3" class="panelheadleft">
                                </td>
                            </tr>
                            <tr>
                                <td id="Td4" class="panelmarginright">
                                </td>
                                <td valign="top" class="panelcontentback" > <!-- ************ Content Place !-->
                                    <div class="panelcontent" style="margin-top:17px;">
                                        <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                            <ContentTemplate>
                                                <table id="Table1" runat="server" border="0" cellpadding="0" cellspacing = "5">
                                                    <tr id="Tr2" runat="server">
                                                        <td align="left" valign="top">
                                                            <asp:Label ID="Label2" runat="server" Text="نام و نام خانوادگی :"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="top">
                                                            <asp:Label ID="tbFullName" runat="server" Text="" style="font-size:8.5pt; color:DarkRed; font-weight:bold;"></asp:Label>
                                                        </td>
                                                        <td rowspan="6" style="width:100px;" valign="top" align="right">
                                                            <table border="0" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td align="center">
                                                                        <asp:Image ID="imgPhoto" runat="server" Width="100px" Height="133px" 
                                                                            AlternateText="عکس یافت نشد" BorderStyle="Solid" BorderWidth="1px" 
                                                                            GenerateEmptyAlternateText="True" BorderColor="Black" 
                                                                            ImageAlign="Middle" />
                                                                    </td>
                                                                </tr>
                                                                <tr style="padding-top:5px;">
                                                                    <td align="center">
                                                                        <asp:LinkButton ID="btnRecieved" runat="server" CssClass="gridsmallbuttons" 
                                                                            Width="60px" Height="20px" style="margin-top:4px;" onclick="btnRecieved_Click" >ارسال</asp:LinkButton>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <asp:Label ID="Label3" runat="server" Text="جنسیت :"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="top">
                                                            <asp:RadioButton ID="rbMale" runat="server" Text="مرد" GroupName="gender" Checked="true" Font-Names="Tahoma" Font-Size="9"/>
                                                            <asp:RadioButton ID="rbFemale" runat="server" Text="زن" GroupName="gender" Font-Names="Tahoma" Font-Size="9" style="margin-right:15px;"/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <asp:Label ID="Label4" runat="server" Text="بیوگرافی :"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="top">
                                                            <asp:TextBox ID="tbBio" runat="server" Font-Names="Tahoma" Font-Size="9" 
                                                                Width="200px" TextMode="MultiLine" Height="80"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <asp:Label ID="Label5" runat="server" Text="میزان تحصیلات :"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="top" >
                                                            <asp:DropDownList ID="cmbTahsilat" runat="server" Font-Names="Tahoma" Font-Size="9" Width="200px">
                                                                <asp:ListItem></asp:ListItem>
                                                                <asp:ListItem>زیر دیپلم</asp:ListItem>
                                                                <asp:ListItem>دیپلم</asp:ListItem>
                                                                <asp:ListItem>پیش دانشگاهی</asp:ListItem>
                                                                <asp:ListItem>فوق دیپلم</asp:ListItem>
                                                                <asp:ListItem>دانشجو</asp:ListItem>
                                                                <asp:ListItem>لیسانس</asp:ListItem>
                                                                <asp:ListItem>بالاتر</asp:ListItem>
                                                            </asp:DropDownList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" valign="top">
                                                            <asp:Label ID="Label6" runat="server" Text="عکس پرسنلی :"></asp:Label>
                                                        </td>
                                                        <td align="right" valign="top">
                                                            <cc1:AsyncFileUpload ID="fuUserPhoto" runat="server" Width="200px"/>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="3" style="padding-top:5px;">
                                                             <asp:LinkButton ID="btnOk" runat="server" Height="25px" 
                                                                Width="100px" CssClass="buttons" onclick="btnOk_Click" >تأیید</asp:LinkButton>
                                                            <div id="divProgressOkButton" style="width:40px; height:40px; vertical-align:middle; text-align:center;">
                                                                <asp:UpdateProgress ID="UpdateProgressOkButton" runat="server" AssociatedUpdatePanelID="UpdatePanel2" DisplayAfter="0">
                                                                    <ProgressTemplate>
                                                                        <asp:Image ID="Image3" runat="server" ImageUrl="~/images/loading1.gif" Width="40px" Height="40px"/>
                                                                    </ProgressTemplate>
                                                                </asp:UpdateProgress>
                                                            </div>
                                                            <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                </td>
                                <td id="Td5" class="panelmarginleft" align="left">
                                </td>
                            </tr>
                            <tr>
                                <td id="Td6" class="panelbottomright" align="right" >
                                </td>
                                <td id="Td7" class="panelbottomrepeat" style="width:460px;">
                                </td>
                                <td id="Td8" class="panelbottomleft" align="left";>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

