Search code examples
c#asp.netaspwizard

ASP.NET Wizard - Need onload of WizardStep


When I got to WizardStep, I like to populate some info depending on what was selected in the previous WizardStep. Is there is onload of a wizardstep where I can populate info into it based on certain conditions.


Solution

  • Use the ActiveStepChanged event:

    void OnActiveStepChanged(object sender, EventArgs e)
    {
        // ...
    }