Hi,
Use CausesValidation="False"
jana
-----Opprinnelig melding-----
Fra: John Tyson [mailto:jtyson@t...]
Sendt: 15. november 2002 22:11
Til: ASPX_Professional
Emne: [aspx_professional] Validation Summary question
Hi,
I have an aspx Web page form with three buttons: Save, Clear Form, and
Menu. When the user clicks "Save" it points to my Validation_Click
subroutine with If Page.IsValid...etc.
The problem I'm running into is when I click the Clear Form (which is a
redirect to the same page to refresh) or Menu (redirect to Menu page)
the Validation Summary control still fires and stops the redirect subs
from working. I don't have the phrase "If Page.IsValid" in these subs,
so why is this happening and what can I do to turn it off for these two
button clicks?
Thanks,
John