<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewsEdit.aspx.cs" Inherits="admin_Corp_News_NewsEdit" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!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">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>修改会员商铺资讯</title>
<link rel="stylesheet" href="../../skin/Style.css" type="text/css"> 
</head>
<body>
    <form id="form1" runat="server">
        <div class="talbe_border marie">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="talbe_list">
			<tr>
			 <th colspan="2" class="header tou">
				编辑会员公司资讯
			 </th>
			</tr>
                <tr>
                    <td width="20%" class="left1">
                        资讯标题：                    </td>
                    <td class="left2">
                        <asp:TextBox ID="txtTitle" runat="server" Width="300px"></asp:TextBox>
                        
                  </td>
                </tr>
                <tr>
                    <td width="20%" class="left1">
                        详细内容：                    </td>
                    <td><FCKeditorV2:FCKeditor ID="Detail" runat="server" BasePath="~/Control/fckeditor/" ToolbarSet="Basic" Height="400px" Width="640">
</FCKeditorV2:FCKeditor>
                  </td>
                </tr>
                <tr>
                    <td bgcolor="#F0F7FD" colspan="2">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CssClass="i_button" />
                    </td>
                </tr>
          </table>
        </div>
    </form>
     <script type="text/javascript">
     document.getElementById("btnSave").onclick=function()
    {
        if(document.getElementById("txtTitle").value.replace(/\s/g,'')=="")
        {
         alert("标题不能为空！")
         return false 
        }
    }
    </script>
</body>
</html>
