2011-05-31 47 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

备案。保罗发现我的问题。有页面验证器阻止事件发生。

相关问题