<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PrintMarginsPopup.ascx.cs"
    Inherits="Zap.BI.Portal.Controls.UserControls.ModalPopups.PrintMarginsPopup" %>
    
<table cellpadding="6px" style="width: 350px;">
    <tr>
        <td colspan="3" align="center">
            <asp:Label runat="server" style="font-style:italic;" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Label_MarginMeasurements %>" CssClass="ui-text" />
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <table>
                <tr>
                    <td align="center">
                        <asp:Label runat="server" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Label_Top %>" CssClass="ui-form-label" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:TextBox Columns="3" ID="Top" runat="server" CssClass="ui-input-box" />
                        <asp:RangeValidator EnableClientScript="true" ID="TopValidator" runat="server" ControlToValidate="Top" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_InvalidMarginInput %>"
                            MinimumValue="0" MaximumValue="999" Display="Dynamic" Type="Integer" ValidationGroup="Margins" Text="*" />
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="Top" ValidationGroup="Margins" Text="*" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_MarginInputRequired %>" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td>
            <table>
                <tr>
                    <td align="center">
                        <asp:Label runat="server" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Label_Left %>" CssClass="ui-form-label" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:TextBox Columns="3" ID="Left" runat="server" CssClass="ui-input-box" />
                        <asp:RangeValidator EnableClientScript="true" ID="LeftValidator" runat="server" ControlToValidate="Left" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_InvalidMarginInput %>"
                            MinimumValue="0" MaximumValue="999" Display="Dynamic" Type="Integer" ValidationGroup="Margins" Text="*" />
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="Left" ValidationGroup="Margins" Text="*" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_MarginInputRequired %>" />
                    </td>
                </tr>
            </table>
        </td>
        <td>
            <asp:Image ID="Margins" runat="server" />
        </td>
        <td>
            <table>
                <tr>
                    <td align="center">
                        <asp:Label runat="server" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Label_Right %>" CssClass="ui-form-label" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:TextBox Columns="3" ID="Right" runat="server" CssClass="ui-input-box" />
                        <asp:RangeValidator EnableClientScript="true" ID="RightValidator" runat="server" ControlToValidate="Right"
                            ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_InvalidMarginInput %>"
                            MinimumValue="0" MaximumValue="999" Display="Dynamic" Type="Integer" ValidationGroup="Margins" Text="*" />
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="Right" ValidationGroup="Margins" Text="*" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_MarginInputRequired %>" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <table>
                <tr>
                    <td align="center">
                        <asp:Label runat="server" Text="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Label_Bottom %>" CssClass="ui-form-label" />
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:TextBox Columns="3" ID="Bottom" runat="server" CssClass="ui-input-box" />
                        <asp:RangeValidator EnableClientScript="true" ID="BottomValidator" runat="server" ControlToValidate="Bottom"
                            ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_InvalidMarginInput %>"
                            MinimumValue="0" MaximumValue="999" Display="Dynamic" Type="Integer" ValidationGroup="Margins" Text="*" />
                        <asp:RequiredFieldValidator runat="server" ControlToValidate="Bottom" ValidationGroup="Margins" Text="*" ErrorMessage="<%$ Resources: Controls.UserControls.ModalPopups.ModalPopupText, Message_MarginInputRequired %>" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <table cellpadding="8px">
                <tr>
                    <td>
                        <asp:Button ID="Ok" runat="server" CssClass="button standardbutton" ValidationGroup="Margins" OnClick="CustomOk_Click" Text="<%$ Resources: Controls.ControlText, Label_Ok %>" />
                    </td>
                    <td>
                        <asp:Button ID="Cancel" CssClass="button standardbutton" OnClick="CustomCancel_Click" runat="server" Text="<%$ Resources: Controls.ControlText, Label_Cancel %>" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
