HTML编辑器在按钮提交时失去了价值
本文关键字:失去 提交 编辑器 按钮 HTML | 更新日期: 2023-09-27 18:15:00
Value Loss in my HTML editor and fileupload ctrl
这是我的示例代码
<asp:UpdatePanel ID="up_pnl_Ctrls" runat="server" UpdateMode="Always">
<ContentTemplate>
// TextBox ctrls and Radio buttons
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="up_pnl_Send_Key" runat="server" UpdateMode="Conditional">
<ContentTemplate>
//File Upload Ctrl
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnCreate"></asp:PostBackTrigger>
</Triggers>
</asp:UpdatePanel>
<asp:UpdatePanel ID="upPnl" runat="server" UpdateMode="Always" EnableViewState="true" >
<ContentTemplate>
<asp:Panel ID="pnlMailContent" runat="server">
<FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/FCKEditor/" ImageBrowserURL="~/FCKEditor/"
LinkBrowserURL="~/FCKEditor/" Height="630px" Width="890px">
</FCKeditorV2:FCKeditor>
<div class="input-field-error-container">
</div>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
<div class="button-text-2">
<asp:LinkButton ID="btnCreate" runat="server" ValidationGroup="PublishUser" OnClick="btnCreate_Click"
CausesValidation="true">Publish</asp:LinkButton>
</div>
如果我做了Fileupload,我在HTML编辑器中输入了一个文本,当我提交;很常见。Hasfile失败,编辑器中输入的值无法从服务器端取回
提前感谢!
我已经设置了upppnl UpdateMode="条件",然后我得到了它完美…但真的很难过,没有答案,甚至没有评论:(