<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NewsEdit.aspx.cs" Inherits="LZBS.Web.Admin.NewsEdit" ValidateRequest="false"%>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>新闻编辑</title>
</head>
<body>
    <form id="form1" runat="server">
<div>
    <div style="height:25px; text-align:center; margin-top:10px;">
        新闻类别： <asp:DropDownList ID="ddlNewsType" runat="server" Height="21px" 
            Width="200px"></asp:DropDownList>
        <br />
        </div>
        <div style="height:25px; text-align:center;">
        新闻标题： <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtTitle" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
        </div>
        <div style="height:555px; text-align:center;">
        <FTB:FreeTextBox runat="server" ID="ftbContent" Language="zh-CN"
                         ToolbarStyleConfiguration="Office2003" ImageGalleryPath="~/Admin/UploadFiles/News" 
            
            ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat,Insert Date,Insert Time,,SelectAll,Preview|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule,InsertImageFromGallery|Cut,Copy,Paste;Undo,Redo,Print" 
            Height="500px" Width="886px">
        </FTB:FreeTextBox>
        <hr style=" border:solid 1px #CCCCCC; height:1px;"/>
            <asp:HiddenField ID="hfTitle" runat="server" />
&nbsp;<asp:Button ID="btnSave" runat="server" Text="保  存" onclick="btnSave_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input id="ResetSave" type="reset" value="重  置" style="width:50px; height:20px;" />
        </div>
    </div>
    </form>
</body>
</html>
