In the final step of the wizard control, I have got a method for the OnActivate event but for some reason everytime I click Submit on the second last step (steptype = Finish), it does all the adding to the database but does not seem to fire the OnActivate event as the Summary page does not load (the same page refreshes). Is there a way to check if the event is firing or better what the problem is. I have posted some part of the code below:
Wizard Step
<asp:WizardStep ID="Summary" runat="server" OnActivate="Summary_Activate" Title="Summary">
'asp controls (mostly labels) to display the summary
<asp:Label ID="lblirstName" runat="server" />
</asp:WizardStep>
Finish Navigation Template
<FinishNavigationTemplate>
<table cellpadding="3" cellspacing="3">
<tr>
<td>
<asp:Button ID="btnSaveFinish" runat="server" Text="Save Draft" CausesValidation="true" ValidationGroup="draft" CommandName="SaveDraft" CommandArgument="Finish" OnCommand="btnSubmit_Command" />
</td>
<td>
<asp:Button ID="btnPrevious" runat="server" Text="<< Previous" CausesValidation="false" CommandName="MovePrevious" />
<asp:Button ID="btnFinish" runat="server" Text="Submit" CausesValidation="true" CommandName="Submit" CommandArgument="Submit" OnCommand="btnSubmit_Command" />
</td>
</tr>
</table>
</FinishNavigationTemplate>
OnActivate
Protected Sub Summary_Activate(sender As Object, e As System.EventArgs) Handles Summary.Activate
'code bind the text from former steps to the labels in the summary of the application
lblFirstName.text = txtFirstName.text
End Sub