| Wei Keong 的个人资料Doubliewkay日志列表 | 帮助 |
|
1月20日 Disabling the Next button in the Wizard Control of ASP.NET 2.0You can programmatically enable and disable the Next button (also works for the other buttons; Previous, Finish) in the Wizard control of ASP.NET 2.0.
Button btnNext = (Button)Wizard1.FindControl("StartNavigationTemplateContainerID").FindControl("StartNextButton"); if (btnNext != null) { btnNext.Enabled = false; }
The above code only works for the StartNavigationTemplate.
For the StepNavigationTemplate, change the StartNavigationTemplateContainerID to StepNavigationTemplateContainerID and the StartNextButton to StepNextButton. |
|
|