Author: Daz-Adams | Posted on: 1/29/2009 4:42:38 AM | Views : 353

I'm using Peter Blum VAM controls on my application and have noticed a strange error.

I have a control  which allows you to add insurance claims
There is  question "Have you had any claims in the last 5 years"  with a yes/no radio button list.
If you select yes an extra set of fields opens which allow you to select a claim type and enter a claim date.  (The claims get added to a GridView which is visible on the screen)

When the page submit button is clicked I run an extra bit of validation to check that if the user has clicked "yes" the grid view contains at least 1 row. 

If no claims have been added the page is invalid and the error is displayed.

That all works fine.

However.....  for some reason the fieldstate controllers on the page seem to stop working.
So if the user clicked "Yes"  by mistake and click "no" the fields are still vis ...

Go to the complete details ...