accessing controls in the createuserwizard complete step

  • Thread starter Thread starter JJ
  • Start date Start date
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
 
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
 
Back
Top