views:

12

answers:

1

Helo,

on one of my asp.net page i have few textbox's and required validator attach to them. Everything is ok with validate, but when i want to change page to another required validator don't allowed it cause i don't fill in a textbox :/

How to allowed change page without fill a validate textbox? I must create a condition in "exit page" (how it named ?) event disabled required validation ??

Please help ;)

+3  A: 

If you're using some control to move to the next page, set it's CausesValidation property to False.

For example, if you're clicking a button that moves you to the next page, it would be like:

<asp:LinkButton id="myButton" runat="server" CausesValidation="False" .... />
womp
I check and it works in 100% Tnx! ;)
netmajor