M
Mike
I'm helping out on a web app and the developer that created the aspx pages is using <asp:wizard> on the form. There are dropdowns, labels, buttons, etc within each wizard.
How can I find a button in one of these wizards? I'm using something like
Button btn = (Button)Wizard.WizardStep[4].FindControl("button1");
btn.visible = false;
but I keep getting the error:
'Error: Object reference not set to an instance of an object'
how can find the button in the wizard so I can hide it?
How can I find a button in one of these wizards? I'm using something like
Button btn = (Button)Wizard.WizardStep[4].FindControl("button1");
btn.visible = false;
but I keep getting the error:
'Error: Object reference not set to an instance of an object'
how can find the button in the wizard so I can hide it?