0

I am encountering issues in the navigation defined in a master page which are being blocked by validators pages that inherit from the master. How can I disable these validators so that they do not prevent my button actions in the master page?

I am using AJAX controls in child pages.

1
  • If the answers helped, you should upvote them Commented Mar 4, 2010 at 12:10

2 Answers 2

1

You should break your controls into validation groups. Without any validation groups, any button triggers validation (that are not set to "CausesValidation=false") as all the controls are considered in the same group. You want to group the validators, controls being validated and buttons that should trigger validation in the same group. That way, when a button not in the validation group will be unaffected by any validations.

Sign up to request clarification or add additional context in comments.

Comments

1

you can use the

CausesValidation="false"

on the controls that you do not won to take part on your validaion, or create

ValidationGroup="MyGroupName"

Validate Groups that the one not affect the other group.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.