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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Sunny_KumarAuthor Commented:
Ok thanks for your help! :)

Sunny
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.