Thanks for the response.
After some playing around I found if I just increment the NextStepIndex and then call the base routine it did what I wanted.
Nick
public override void ButtonNextClickAction()
{
// If customer is registered
if ((!this.ShoppingCartControl.IsInternalOrder) && (this.ShoppingCartInfoObj.CustomerInfoObj != null))
{
if (IsValid() && ProcessStep())
{
try
{
// Skip registration
this.ShoppingCartControl.NextStepIndex = 2;
base.ButtonNextClickAction();
}
catch
{
// Error while loading extra step control -> Do standard action
base.ButtonNextClickAction();
}
}
}
else
{
// Do standard action (validate step data, process step data, load next step)
base.ButtonNextClickAction();
}
}