如何在我的向导控件的“最后”步骤中禁用返回和确认按钮?
<asp:Wizard ID="Wizard" runat="server" DisplayCancelButton="True"
StepPreviousButtonText="Back" FinishPreviousButtonText="Back"
FinishCompleteButtonText="Confirm" >
<WizardSteps>
.....
<asp:WizardStep ID="ConfirmStep" runat="server" Title="Confirm Request"
StepType="Finish" >
<asp:WizardStep>
....
</WizardSteps>
</asp:Wizard>
Protected Sub Wizard_FinishButtonClick(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.WizardNavigationEventArgs) Handles Wizard.FinishButtonClick
.......
'I want to disable the Confirm and Back button here after displaying the error message.
e.Cancel = True
End Sub
谢谢。