<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Editnews.aspx.cs" Inherits="manage_Editnews" validateRequest="false"%>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!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>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center">
    <form id="form1" runat="server">
    <div>
        <table class="9" style="width: 550px; border-top-style: groove; border-right-style: groove;
            border-left-style: groove; height: 394px; background-color: #ffffff; border-bottom-style: groove">
            <tr>
                <td colspan="3" style="border-top-style: double; border-right-style: double; border-left-style: double;
                    height: 28px; background-color: cornflowerblue; border-bottom-style: double">
                    <strong><span style="color: black">添加新闻</span></strong></td>
            </tr>
            <tr>
                <td colspan="3" rowspan="2" style="height: 50px; text-align: left">
                    <table class="9" frame="vsides" style="height: 17px" width="100%">
                        <tr>
                            <td style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid;
                                border-bottom: gray 1px solid; height: 30px">
                                &nbsp;新闻标题：</td>
                            <td colspan="2" style="border-right: gray 1px solid; border-top: gray 1px solid;
                                border-left: gray 1px solid; border-bottom: gray 1px solid; height: 30px">
                                <asp:TextBox ID="txtTitle" runat="server" MaxLength="40" ToolTip="40字以内" Width="221px"></asp:TextBox>
                                &nbsp;&nbsp; 作者：<asp:TextBox ID="txtAuthor" runat="server" MaxLength="10" Width="69px"></asp:TextBox>
                                &nbsp;&nbsp; 出处：<asp:DropDownList ID="drpChuchu" runat="server" Width="65px">
                                    <asp:ListItem>转载</asp:ListItem>
                                    <asp:ListItem>自创</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td style="border-right: gray 1px solid; border-top: gray 1px solid; border-left: gray 1px solid;
                                border-bottom: gray 1px solid; height: 43px">
                                &nbsp;新闻类别：</td>
                            <td colspan="2" style="border-right: gray 1px solid; border-top: gray 1px solid;
                                border-left: gray 1px solid; border-bottom: gray 1px solid; height: 43px">
                                <asp:DropDownList ID="DrpLeibie" runat="server" Width="194px">
                                    <asp:ListItem>企业新闻</asp:ListItem>
                                    <asp:ListItem>业内资讯</asp:ListItem>
                                    <asp:ListItem>技术文档</asp:ListItem>
                                </asp:DropDownList>&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
            </tr>
            <tr>
                <td colspan="3" rowspan="1" style="text-align: center">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="新闻内容"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="3" style="height: 301px" valign="top">
                    <ftb:freetextbox id="FreeTextBox1" runat="server" allowhtmlmode="True" autoconfigure="Default"
                        autohidetoolbar="False" backcolor="LightGray" breakmode="LineBreak" buttondownimage="False"
                        buttonpath="images/ftb/office2003/" buttontitlemode="None" buttontype="Image"
                        downlevelmode="BasicEditor" gutterbackcolor="224, 224, 224" height="400px" htmlmodedefaultstomonospacefont="True"
                        imagegallerypath="Uploadpics/productpics" pastemode="Default" readonly="False"
                        scrollbarmode="Style" showstatusarea="True" startmode="DesignMode" toolbarlayout=""
                        toolbartype="Office2003" width="750px"></ftb:freetextbox>
                </td>
            </tr>
            <tr>
                <td colspan="3" style="text-align: center">
                    &nbsp;<asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="3" style="background-color: cornflowerblue; text-align: center">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="确认输入" />
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
