<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Inputnews.aspx.cs" Inherits="manage_Inputproduct" 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>
    <form id="form1" runat="server">
    <div style="text-align: center">
        <table style="width: 550px; border-top-style: groove; border-right-style: groove;
            border-left-style: groove; background-color: #ffffff; border-bottom-style: groove; height: 394px;" class="9">
            <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="text-align: left; height: 50px;">
                    <table frame="vsides" style="height: 17px" width="100%" class="9">
                        <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" Width="221px" ToolTip="40字以内"></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" Width="750px" AllowHtmlMode="True" AutoConfigure="Default" AutoHideToolbar="False" BreakMode="LineBreak" ButtonDownImage="False" ButtonPath="images/ftb/office2003/" ButtonType="Image" Height="400px" ImageGalleryPath="Uploadpics/productpics" PasteMode="Default" StartMode="DesignMode" ToolbarType="Office2003" DownlevelMode="BasicEditor" ReadOnly="False" ScrollbarMode="Style" ToolbarLayout="" HtmlModeDefaultsToMonoSpaceFont="True" ButtonTitleMode="None" ShowStatusArea="True" BackColor="LightGray" GutterBackColor="224, 224, 224" />
                 </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" Text="确认输入" OnClick="Button1_Click" />
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
