accessing controls in the createuserwizard complete step

J

JJ

I want to make one or other display panel visible on the 'complete' step of
a createuserwizard.

I've customised the complete step and have the id's of the panels.

I've tried:
Control panelControl;

panelControl = CompleteWizardStep1.FindControl("ValidationSent");

panelControl.Visible = false;

panelControl = CompleteWizardStep1.FindControl("ValidationNotSent");

panelControl.Visible = true;



But it gives me a null reference at the "panelControl.Visible = false;"
line.



Is there any way of doing this?



JJ
 
J

JJ

I decided to customise the complete step and put the variable <%=
complete_text > in the html, which is set in the code behind
file depending on various parameters.

JJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top