Validation of data when using Multiview?

Hi all,

I have a multiview with 3 views. Each view has some info in textboxes.

On the 3rd view, I have a button and a validation summary. When I hit the button, the validation summary displays some info but not all validation error messages. It only displays validation error messages related to textbox controls on the 3rd view. It seems to be skipping the first 2 views (which are not visible at this point).

I've tried using the validationgroup property to set all controls to the same group. I'm still getting the same error.

Any help is much appreciated as always!

Thanks,

Sunny
LVL 1
Sunny_KumarAsked:
Who is Participating?
 
guru_samiCommented:
Check the Source of your page...only one View is rendered at a time....so I don't think you have much choice...
0
 
guru_samiCommented:
You will need to do validation on each view separately...i.e. before switching to another view...or may be you can look into Wizard control that is another control but still there also you will have to validate each step separately...
0
 
Sunny_KumarAuthor Commented:
Ah pants!! :P

Really? Theres no way around this? Validation must be carried out on each view?
0
 
Sunny_KumarAuthor Commented:
Ok thanks for your help! :)

Sunny
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.