I have a Wizard control on my ASP.NET web form. I am setting the default button on each step in the ApplicationWizard PreRender event in code-behind like so:
Page.Form.DefaultButton = ApplicationWizard.FindControl("StepNavigationTemplateContainerID").FindControl("StepNextButton").UniqueID;
This is working perfectly, but when I ajaxify the Wizard control it does not work. The Default button is set to the Control I specify when initally loading the form (StartNextButton) but does not update to StepNextButton on other steps. What am I doing wrong?