Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: SV: Validation Summary question


Message #1 by "jan arve dyrnes" <jan.arve@c...> on Fri, 15 Nov 2002 22:25:43 +0100
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






  Return to Index