2011-05-31 48 views
0

不費一槍我有一個嚮導中的更新面板:UpdatePanel內向導

<asp:WizardStep ID="WizardStep2" runat="server" StepType="Auto" 
     Title="Set the number of users required."> 

     ... 
     <asp:UpdatePanel ID="UpdatePanel2" UpdateMode="Always" runat="server"> 
      <ContentTemplate> 
      <asp:Label runat="server" ID="ProgressInd" Text="Progress..." /> 
      <asp:Button runat="server" OnClick="GoButton_Click" ID="ProgressBtn" Text="Go" /> 
      </ContentTemplate> 
     </asp:UpdatePanel> 
    </asp:WizardStep> 

    ... 

    protected void GoButton_Click(object sender, EventArgs e) 
    { 
     ProgressInd.Text = "Progress... Moving"; 
    } 

當我把更新面板出它很好地嚮導,但嚮導中單擊事件就不會觸發。我使用Firefox進行測試,但IE也不起作用。任何想法或幫助表示讚賞。

+0

如果再次點擊該按鈕,你會發現文本更新? – 2011-05-31 14:28:29

+0

不,沒有任何反應 – Matt 2011-05-31 14:38:39

+2

你有沒有任何機會在嚮導步驟驗證控件? – 2011-05-31 14:46:09

回答

1

備案。保羅發現我的問題。有頁面驗證器阻止事件發生。

相關問題