<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Slide_Add.aspx.cs" Inherits="TotCms.Web.Admin.Slide_Add" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<!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 id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>添加幻灯片</title>
    <link href="style/global.css" rel="stylesheet" type="text/css" />
    <script src="js/common.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
                                                                                添加幻灯片</td>
    </tr>
    <tr>
      <td class="fields_text">
        选择栏目：</td>
      <td class="fields_input">
       <asp:DropDownList ID="CategoryId" runat="server">
        </asp:DropDownList>
        </td>
    </tr>
    <tr>
      <td class="fields_text">
        幻灯片名称：</td>
      <td class="fields_input">
        <asp:TextBox ID="Title" runat="server" CssClass="input_middle"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ControlToValidate="Title" ErrorMessage="幻灯片名称不能为空"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        个数：</td>
      <td class="fields_input">
        <asp:TextBox ID="ItemNum" runat="server" CssClass="input_mini">4</asp:TextBox>
          <asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
          runat="server" ControlToValidate="ItemNum" ErrorMessage="只能填写数字" 
          ValidationExpression="\d*"></asp:RegularExpressionValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        宽度：</td>
      <td class="fields_input">

        <asp:TextBox ID="Width" runat="server" CssClass="input_mini">320</asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
          ErrorMessage="只能填写数字" ValidationExpression="\d*" ControlToValidate="Width"></asp:RegularExpressionValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        高度：</td>
      <td class="fields_input">

        <asp:TextBox ID="Height" runat="server" CssClass="input_mini">260</asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
          ErrorMessage="只能填写数字" ValidationExpression="\d*" 
          ControlToValidate="Height"></asp:RegularExpressionValidator>
          </td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <asp:Button ID="Button1" runat="server" Text="添加幻灯片" onclick="Button1_Click" />
        <input id="Button2" type="reset" value="取 消" /></td>
    </tr>
  </table>
    </form>
</body>
</html>
