<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SendToControl.ascx.cs" Inherits="SolidCP.Portal.UserControls.SendToControl" %>
<div>
    <div>
        <fieldset>
                <div>
                    <div>
                        <div id="SendPasswordResetEmailDiv" class="form-group" runat="server">
                            <asp:Label runat="server" CssClass="control-label col-sm-2" AssociatedControlID="chkSendPasswordResetEmail" style="white-space:nowrap;">
                                <asp:Localize ID="Localize1" runat="server" meta:resourcekey="chkSendPasswordResetEmailLabel" Text="Send Password Request." />
                            </asp:Label>
                            <div class="col-sm-10">
                                <div class="input-group">
                                    <asp:CheckBox ID="chkSendPasswordResetEmail" runat="server" AutoPostBack="true" OnCheckedChanged="chkSendPasswordResetEmail_StateChanged" CssClass="btn button-primary" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
        </fieldset>
    </div>
</div>
<div id="SendToBody" runat="server" visible="False">
        <fieldset>
                <div class="col-md-12">
                    <div class="form-group form-inline">
                        <label for="locSendTo" class="col-sm-2 control-label">
                            <asp:Localize ID="locSendTo" runat="server" meta:resourcekey="locSendTo" Text="Send to:" />
                        </label> 
						<div class="col-sm-10">
                            <div class="input-group form-inline">
                                <div class="FormRBtnL">
                                    <label class="input-group-addon">
                                        <i class="fa fa-envelope-o" aria-hidden="true"></i>
                                        <asp:RadioButton ID="rbtnEmail" runat="server" meta:resourcekey="rbtnEmail" Text="Email" GroupName="SendToGroup" AutoPostBack="true" Checked="true" OnCheckedChanged="SendToGroupCheckedChanged" />
                                    </label>
                                    <asp:label class="input-group-addon" ID="rbtnMobileLabel" runat="server">
                                        <i class="fa fa-mobile" aria-hidden="true"></i>
                                        <asp:RadioButton ID="rbtnMobile" runat="server" meta:resourcekey="rbtnMobile" Text="Mobile" GroupName="SendToGroup" AutoPostBack="true" OnCheckedChanged="SendToGroupCheckedChanged" />
                                    </asp:label>
                                </div>
                    </div>
                </div>
            </div>
                    </div>
                <div id="EmailDiv" runat="server" class="col-md-12">
                    <div class="form-group form-inline">
                        <label for="txtEmailAddress" class="col-sm-2 control-label">
                            <asp:Localize ID="locEmailAddress" runat="server" meta:resourcekey="locEmailAddress" />
                        </label>
                        <div class="col-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-envelope-o" aria-hidden="true"></i></span>
                                <asp:TextBox runat="server" ID="txtEmailAddress" CssClass="form-control" placeholder="Email Address" />
                            </div>
                            <asp:RequiredFieldValidator ID="valEmailAddress" runat="server" ErrorMessage="*" ControlToValidate="txtEmailAddress" ValidationGroup="ResetUserPassword"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="ResetUserPassword" ControlToValidate="txtEmailAddress" ErrorMessage="Invalid Email Format"></asp:RegularExpressionValidator>
                        </div>
                </div>
            </div>
                <div id="MobileDiv" runat="server" class="col-md-12">
                    <div class="form-group form-inline">
                        <label for="txtMobile" class="col-sm-2 control-label">
                            <asp:Localize ID="locMobile" runat="server" meta:resourcekey="locMobile" />
                        </label>
                        <div class="col-sm-10">
                            <div class="input-group">
                                <span class="input-group-addon"><i class="fa fa-mobile" aria-hidden="true"></i></span>
                                <asp:TextBox runat="server" ID="txtMobile" CssClass="form-control col-md-4" placeholder="Cell Phone" />
                            </div>
                            <asp:RequiredFieldValidator ID="valMobile" runat="server" ErrorMessage="*" ControlToValidate="txtMobile" ValidationGroup="ResetUserPassword"></asp:RequiredFieldValidator>
                            <asp:RegularExpressionValidator ID="regexMobileValid" runat="server" ValidationExpression="^\+?\d+$" ValidationGroup="ResetUserPassword" ControlToValidate="txtMobile" ErrorMessage="Invalid Mobile Format"></asp:RegularExpressionValidator>
                        </div>
                    </div>
                </div>
        </fieldset>
    </div>