<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Edit.aspx.vb" Inherits="EDSL.Admin.MessageEdit" MasterPageFile="~/masterpages/main.master" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content id="conMain" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
  <div id="divContent" class="divContent" runat="server"></div>      
<div id="divctlContent" class="content-box" runat="server">
  <div id="divErrorPanel" runat="server"><asp:ValidationSummary ID="valEditSave" ValidationGroup="valEditSave" CssClass="divErrorPanel" runat="server" HeaderText="The following fields must be completed" /></div>
  <div id="divFields" class="divFields" runat="server">
    <asp:HiddenField ID="txtID" runat="server"></asp:HiddenField>
    <div class="formtabrow">
      <div class="tablab"><asp:Label ID="lblNameLabel" runat="server" Text="Message name"></asp:Label></div>
      <div class="tabcon">
        <asp:TextBox CssClass="textbox" ID="txtMessageName"  runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Login name" ControlToValidate="txtMessageName" ValidationGroup="valEditSave">*</asp:RequiredFieldValidator>
      </div>
      <div class="cl"></div>
    </div>
    <div class="formtabrowTextArea">
      <div class="tablab"><asp:Label ID="lblFirstName" runat="server" Text="Message text"></asp:Label></div>
      <div class="tabcon borderFCK"><FCKeditorV2:FCKeditor ID="txtMessageText" ToolbarSet="ELMain" runat="server" Height="500" Width="700"></FCKeditorV2:FCKeditor></div>
      <div class="cl"></div>
    </div>
  </div>
  <div class="separator"></div>
    
  <div class="formtabrow">
    <div class="tablab"></div>
    <div class="tabcon">
      <asp:Button ID="btnSave" runat="server" CssClass="greenbutton" Width="60px" UseSubmitBehavior="true" Text="Save" ValidationGroup="valEditSave" />
      <asp:Button ID="btnBack" runat="server" CssClass="greenbutton" Width="60px" UseSubmitBehavior="false" Text="Back" OnClick="btnBack_click" />
    </div>
    <div class="cl"></div>
  </div>
</div>
</asp:Content>
