2011-11-18 47 views
0

價值損失這是我的示例代碼按鈕提交HTML編輯器損失值?在我的HTML編輯器和文件上傳CTRL</p> <p>

<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編輯器中輸入文本時,我提交; Fileupload.hasfile失敗也在編輯器中輸入值無法返回到服務端

在此先感謝!

回答

0

我已經設置upPnl UpdateMode =「有條件的」,那麼我就完美了... 但真的傷心沒有答案,甚至評論:(