类型“FreeTextBoxControls.FreeTextBox”的控件“TxtContent”必须放在具有runat=Server的窗体标记
源码如下:<formid="form1"runat="server"><div><br/><tableclass="tableBorder"cellspacing="1"...
源码如下: <form id="form1" runat="server">
<div><br />
<table class="tableBorder" cellspacing="1" cellpadding="3" align="center" border="0">
<tbody>
<tr>
<th class="tableHeaderText" height="25"> </th>
</tr>
</tbody>
<tbody>
<tr>
<td height="23" class="forumRow"><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="19%"><div align="right">内容:</div></td>
<td width="81%"><FTB:FREETEXTBOX id="TxtContent" runat="server" AutoConfigure="Default" ButtonPath="/Images/office2003/"
ImageGalleryPath="/Upload/" ButtonType="Image" HelperFilesPath="Helper/" Width="600px"></FTB:FREETEXTBOX></td>
</tr>
</table></td>
</tr>
<tr>
<td height="23" align="center" class="forumRow"><asp:Button ID="BtnSubmit" runat="server" Text="提交" OnClick="BtnSubmit_Click" />
<input type="reset" name="Submit" value="重置" /></td>
</tr>
</tbody>
</table>
</div></form> 展开
<div><br />
<table class="tableBorder" cellspacing="1" cellpadding="3" align="center" border="0">
<tbody>
<tr>
<th class="tableHeaderText" height="25"> </th>
</tr>
</tbody>
<tbody>
<tr>
<td height="23" class="forumRow"><table width="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td width="19%"><div align="right">内容:</div></td>
<td width="81%"><FTB:FREETEXTBOX id="TxtContent" runat="server" AutoConfigure="Default" ButtonPath="/Images/office2003/"
ImageGalleryPath="/Upload/" ButtonType="Image" HelperFilesPath="Helper/" Width="600px"></FTB:FREETEXTBOX></td>
</tr>
</table></td>
</tr>
<tr>
<td height="23" align="center" class="forumRow"><asp:Button ID="BtnSubmit" runat="server" Text="提交" OnClick="BtnSubmit_Click" />
<input type="reset" name="Submit" value="重置" /></td>
</tr>
</tbody>
</table>
</div></form> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询