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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc2" %>

<%@ 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%;" align="right"; valign="top"; >
                <div id="frameContainer" style="padding:10px 10px 25px 10px;">
                    <table id="Table2" border="0" cellpadding="0" cellspacing="0" style="width:100%;">
                        <tr>
                            <td id="Td92" class="panelheadright">
                            </td>
                            <td id="Td102" class="panelheadrepeat" align="center" >
                                <asp:Label ID="lblFrameTitle" runat="server" Text="محتوای نامه ارسالی" style="color:White;"></asp:Label>
                            </td>
                            <td id="Td112" class="panelheadleft">
                            </td>
                        </tr>
                        <tr>
                            <td id="Td122" class="panelmarginright">
                            </td>
                            <td valign="top" class="panelcontentback" > <!-- ************ Content Place !-->
                                <div id="divRoleType" class="panelcontent" style="text-align:center; " runat="server">
                                    <table cellpadding="0" cellspacing="4px" border="0">
                                        <tr>
                                            <td align="left">
                                                <asp:Label ID="Label1" runat="server" Text="موضوع نامه :" Font-Size="8pt"></asp:Label>
                                            </td>
                                            <td align="right" style="padding-right : 5px;">
                                                <asp:TextBox ID="tbSubject" runat="server" Width="200px" Font-Names="Tahoma" Font-Size="8pt"></asp:TextBox>
                                                <cc1:TextBoxWatermarkExtender ID="tbSubject_TextBoxWatermarkExtender" 
                                                    runat="server" Enabled="True" TargetControlID="tbSubject" 
                                                    WatermarkCssClass="WaterMarkClass" WatermarkText="اجباری">
                                                </cc1:TextBoxWatermarkExtender>
                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                    ErrorMessage="*" ControlToValidate="tbSubject"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left">
                                                <asp:Label ID="Label2" runat="server" Text="نوع نامه :" Font-Size="8pt"></asp:Label>
                                            </td>
                                            <td align="right" style="padding-right : 5px;">
                                                <asp:DropDownList ID="cmbType" runat="server" Width="200px" Font-Names="Tahoma" Font-Size="8pt">
                                                    <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="Label5" runat="server" Text="متن نامه :" Font-Size="8pt"></asp:Label>
                                            </td>
                                            <td align="right" style="padding-right : 5px;">
                                                <cc2:Editor ID="Editor1" runat="server" Height="400px" 
                                                    Font-Names="Tahoma,Arial" Width="350px" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                            <td id="Td132" class="panelmarginleft" align="left">
                            </td>
                        </tr>
                        <tr>
                            <td id="Td142" class="panelbottomright" align="right" >
                            </td>
                            <td id="Td152" class="panelbottomrepeat" >
                            </td>
                            <td id="Td162" class="panelbottomleft" align="left";>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="3" align="center" style="padding-top : 5px;">
                                <asp:UpdatePanel ID="UpdatePanelOkButton" runat="server">
                                    <ContentTemplate>
                                        <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="UpdatePanelOkButton">
                                                <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>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</div>
</asp:Content>

