tags:

views:

58

answers:

1

Hi im using asp.net wizard, and im tryng to hide the next button on some cases. My problem is that I can't seem to fin the button using WizardFindControl("") it always return null

A: 

I recently have this issue found out that you need to add StepNavigationTemplateContainerID$ before your control id

Check out this blog

Button finishButton = Wizard1.FindControl("StepNavigationTemplateContainerID$FinishButton") as Button;
alejandrobog