posted on Friday, June 09, 2006 5:51 AM by andrewwhitten

Atlas + Wizard control validation bug

When using the ASP.Net 2.0 Wizard control with validation under Atlas, then you have to ensure that there is a validation control on EVERY page of the wizard, or an unhelpful 'null object not found' script error appears.

If you do not need a validation control on a particular wizard step, 

  1. Add a text box with some text inside it to the step
  2. Add a RequiredFieldValidator to it.
  3. Hide the textbox control with a 'Visibility: hidden' CSS style tag. (Using the 'Visibile' property of the control will not work)

(I am using source code release 137. Future releases may have fixed this bug)

Comments