<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true" CodeBehind="messageedit.aspx.cs" Inherits="PirTickets.messageedit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<h2>Edit Message Parameters</h2>
<table border="0">
<tr><td><label>ID</label></td><td>
    <asp:Label ID="lblID" runat="server" Text="Label"></asp:Label>
    </td><td>
        &nbsp;</td></tr>
<tr><td><label>Status Level</label></td><td>
    <asp:DropDownList ID="DDStatus" runat="server" DataSourceID="LinqDataSource1" 
        DataTextField="status_name" DataValueField="id">
    </asp:DropDownList>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
        ContextTypeName="PirTickets.DCRepairsDataContext" 
        Select="new (id, status_name)" TableName="statuses">
    </asp:LinqDataSource>
    </td><td>
        &nbsp;</td></tr>
<tr><td valign="top"><label>SMS Message</label></td><td>
    <asp:TextBox ID="txtSMS" runat="server" MaxLength="200" TextMode="MultiLine" 
        Height="140px" Width="334px"></asp:TextBox>
    </td><td>
        <asp:Button ID="btComp" runat="server" Text="Add Company Name" Width="150px" 
            onclick="Button1_Click" /><br />
        <asp:Button ID="btOrderSMS" runat="server" Text="Add Order No." Width="150px" 
            onclick="btOrderSMS_Click" /><br />
        <asp:Button ID="btAddSMS" runat="server" Text="Add Manufacturer" Width="150px" 
            onclick="btAddSMS_Click" /><br />
        <asp:Button ID="btModelSMS" runat="server" Text="Add Model" Width="150px" 
            onclick="btModelSMS_Click" /><br />
        <asp:Button ID="btSerialSMS" runat="server" Text="Add Serial No." Width="150px" 
            onclick="btSerialSMS_Click" />
    </td></tr>
<tr><td valign="top"><label>Email Message</label></td><td>
    <asp:TextBox ID="txtEmail" runat="server" MaxLength="500" TextMode="MultiLine" 
        Height="140px" Width="332px"></asp:TextBox>
    </td><td>
  <asp:Button ID="btCompEmail" runat="server" Text="Add Company Name" Width="150px" 
            onclick="btCompEmail_Click" /><br />
        <asp:Button ID="btOrderEmail" runat="server" Text="Add Order No." Width="150px" 
            onclick="btOrderEmail_Click" /><br />
        <asp:Button ID="btManEmail" runat="server" Text="Add Manufacturer" 
            Width="150px" onclick="btManEmail_Click" /><br />
        <asp:Button ID="btModelEMail" runat="server" Text="Add Model" Width="150px" 
            onclick="btModelEMail_Click" /><br />
        <asp:Button ID="btSerialEmail" runat="server" Text="Add Serial No." 
            Width="150px" onclick="btSerialEmail_Click" /></td></tr>
<tr><td>&nbsp;</td><td>
    &nbsp;</td><td>
        &nbsp;</td></tr>
<tr><td><label>Send SMS</label></td><td>
    <asp:CheckBox ID="cbsms" runat="server" />
    </td><td>
        &nbsp;</td></tr>
<tr><td><label>Send Email</label></td><td>
    <asp:CheckBox ID="cbEmail" runat="server" />
    </td><td>
        &nbsp;</td></tr>
<tr><td>&nbsp;</td><td>
    <asp:Button ID="bSave" runat="server" onclick="bSave_Click" Text="Save" />
    <asp:Button ID="bCancel" runat="server" onclick="bCancel_Click" Text="Cancel" />
    <asp:Button ID="bDelete" runat="server"  Text="Delete" 
        onclick="bDelete_Click" />
    </td><td>
        &nbsp;</td></tr>
</table>
</asp:Content>
