<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>

<!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>Email Notification</title>
    <style type="text/css">
        .attachment-container {
            display: inline-block;
            background: #dddddd;
            width: 940px;
            padding: 10px 10px 10px;
            position: relative;
        }

        body {
            overflow: hidden !important;
        }
    </style>

    <script type="text/javascript">
        function OnClientLoad(editor, args) {
            var style = editor.get_contentArea().style;
            style.backgroundImage = "none";
            style.backgroundColor = "white";
        }
    </script>
</head>
<body style="background-color: #EFEDE2;">
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <div style="overflow: auto; height: 540px;">
            <asp:UpdatePanel ID="updtpnlMain" runat="server">
                <ContentTemplate>
                    <table style="width: 100%;">
                        <tr>
                            <td>
                                <asp:Panel runat="server">
                                    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server"
                                        MultipleFileSelection="Automatic" HideFileInput="True" MaxFileInputsCount="10"
                                        Width="100%" CssClass="StripFont" RenderMode="Lightweight">
                                        <Localization Select="Attach" />
                                    </telerik:RadAsyncUpload>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 10%">
                                <b>
                                    <asp:Label runat="server" ID="lblSendTo" CssClass="ControlText" Text="Send To:"></asp:Label>
                                </b>
                            </td>
                            <td style="width: 90%">
                                <asp:Label runat="server" ID="lblSendToAddress" Text="Gregoryteam@simmonsfirm.com"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 10%">
                                <b>
                                    <asp:Label runat="server" ID="lblManualAddress" CssClass="ControlText" Text="CC:"></asp:Label>
                                </b>
                            </td>
                            <td style="width: 90%">
                                <asp:TextBox runat="server" ID="txtManualEmail" MaxLength="250" Width="95%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <b>
                                    <asp:Label runat="server" ID="lblSubject" CssClass="ControlText" Text="Subject:"></asp:Label>
                                </b>
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtSubject" MaxLength="250" Width="95%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="false" />
                                <telerik:AccessibleRadEditor ID="RadEditor1" runat="server" RenderMode="Classic" Width="950px" OnClientLoad="OnClientLoad">
                                </telerik:AccessibleRadEditor>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" colspan="2">
                                <label id="lblMessage" runat="server" style="color: red; font-size: larger; font-weight: bold; width: 90%;" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" align="center">
                                <input type="button" value="Cancel" class="button" onclick="self.close();" style="width: 75px;" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button runat="server" ID="btnSend" Width="75" Text="Send" CssClass="button" UseSubmitBehavior="false" OnClick="btnSend_Click" OnClientClick="this.value='Sending...';this.disabled=true;" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">&nbsp;</td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
        <asp:HiddenField runat="server" ID="hfIndividualID" />
    </form>
</body>
</html>


