<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="EditPageContent.aspx.cs" Inherits="Administrator_EditPageContent" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
  <script src="../Scripts/tinymce/tiny_mce.js" type="text/javascript"></script>
    <script type="text/javascript" src="../Scripts/tinymce/tinymce.min.js"></script>
    <script type="text/javascript" src="<your installation path>/tinymce/tinymce.min.js"></script>
    <script type="text/javascript">
        tinymce.init({
            selector: "textarea",
            toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
            plugins: [
              "advlist autolink lists link image charmap print preview anchor",
              "advlist autolink lists link image charmap print preview anchor",

            ]
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" Runat="Server" >
    <div id="divPageMessages" runat="server" class="pageMessages" visible="false" >
        <asp:Literal ID="litPageMessages" runat="server" />
    </div>
    <fieldset>
        <legend>Edit Pages</legend>
        <div class="field" >
            <div class="lable">
                <asp:Label ID="lblFileName" runat="server" Text="File Name :" />
            </div>
            <div class="controls">
                <asp:TextBox ID="txtFileName" runat="server" MaxLength="40" />
            </div>
        </div>

        <div class="field" >
            <div class="lable">
                <asp:Label ID="lblEdit" runat="server" Text="Edit :" />
            </div>
            <div class="controls">
                <asp:TextBox ID="txtEditPage" runat="server" MaxLength="1000" TextMode="MultiLine" Rows="10" Columns="70" />
            </div>
        </div>
        <div class="field">
            <div class="button">
                <asp:Button ID="btnOpen" runat="server" Text="Open" AccessKey="O" OnClick="btnOpen_Click" />
                &nbsp
                <asp:Button ID="btnSave" runat="server" Text="Save" AccessKey="S" OnClick="btnSave_Click" />
            </div>
        </div>
    </fieldset>
</asp:Content>

