<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PageForm.aspx.cs" Inherits="Portal.Portal.PageForm" %>
<%@ Register src="~/UserControls/HtmlEdit.ascx" tagname="HtmlEdit" 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 runat="server">
    <title>表单</title> 
  <script src="../tinymce/js/tinymce/tinymce.min.js"></script>
</head>
<body style=" width:800px; margin:0 auto; line-height:25px;">
 <style>
     .forms{ margin:10px;}
 .forms a{ color:#336699}
 </style>
 
    <form id="form1" runat="server">
    <div class="forms">
     表单标题：<asp:TextBox ID="txt_title" Width="500px" Height="20" runat="server"></asp:TextBox> <br />
      
<div style="display:none">
     标题图片：<asp:TextBox ID="txt_titleimg" Width="300px" Height="20"   runat="server"></asp:TextBox> <a href="#" onclick="window.open('../SimpleUploadPic.aspx?f=pageform&cid=<%=txt_titleimg.ClientID%>'); return false;">上传图片</a>
      <br />
     标题连接：<asp:TextBox ID="txt_titlelink" Width="300px" Height="20" runat="server"></asp:TextBox>  <a href="#" onclick="window.open('../SimlpeUploadFile.aspx?f=pageform&cid=<%=txt_titlelink.ClientID%>'); return false;">上传文档</a>

     预留字段1：<asp:TextBox ID="txt_prev1" Width="300px" runat="server"></asp:TextBox> <br />
     预留字段2：<asp:TextBox ID="txt_prev2" Width="300px" runat="server"></asp:TextBox> <br />
     表单简介：<asp:TextBox ID="txt_intro" Width="500px" TextMode="MultiLine" Height="60px" runat="server"></asp:TextBox> <br />
  </div>
        
     表单内容：<br /> 
      <uc1:HtmlEdit runat="server" ID="he_cotents" Width=760  Height="320"/>  
      <div style="  width:650px; text-align:center">
       <asp:Button ID="Add" runat="server" Text="提交" onclick="Add_Click"  style="padding:5px"   />
      <asp:Button ID="Del" runat="server" Text="删除" Visible=false onclick="Del_Click" style="padding:5px"/>
      </div>
    </div>
    </form>


 

</body>
</html>
