<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="ShippingAdd.aspx.cs" Inherits="PirTickets.ShippingAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 371px;
        }
        .style4
        {
            width: 141px;
        }
        
        .style7
        {
            width: 141px;
            height: 57px;
        }
        .style8
        {
            width: 110px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
       <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
    <table class="style1">
        <tr>
            <th colspan="2">
                Add New Shipping Method</th>
                <td class="style7">
                    </td>
        </tr>
        <tr>
            <td class="style8">
                Shipping Method:</td>
            <td class="style3">
                <asp:TextBox ID="txtMethod" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtMethod" ErrorMessage="Method Required"></asp:RequiredFieldValidator>
            </td>
                <td class="style4">
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                Shipping Cost:</td>
            <td class="style3">
                <asp:TextBox ID="txtCost" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtCost" ErrorMessage="Cost Required"></asp:RequiredFieldValidator>
                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                    ControlToValidate="txtCost" ErrorMessage="Not a Valid Cost" MaximumValue="250" 
                    MinimumValue="0" SetFocusOnError="True"></asp:RangeValidator>
            </td>
                <td class="style4">
                    &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                Action:</td>
            <td class="style3">
                <asp:DropDownList ID="ddAction" runat="server">
                    <asp:ListItem Selected="True" Value="0">None</asp:ListItem>
                    <asp:ListItem Value="2">Alert Admin</asp:ListItem>
                    <asp:ListItem Value="1">Get Courier Details</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style4">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style8">
                &nbsp;</td>
            <td class="style3">
                <asp:Button ID="btAdd" runat="server" onclick="btAdd_Click" 
                    Text="Save" Width="71px" />
            </td>
                <td class="style4">
                    &nbsp;</td>
        </tr>
    </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
