OnClientClick 'return' disables validation

Discussion in 'ASP .Net' started by Florian Doyon, Sep 15, 2005.

  1. Hello usenet,

    Just a note to those that may seek help from google groups (as I did),
    to state that the OnClientClick property of the ASP:Button and
    ASP:LinkButton must not contain the 'return' keyword, unless you want
    to expressly bypass Page validation.

    Hope that helps,

    Florian Doyon
     
    Florian Doyon, Sep 15, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Ortman
    Replies:
    0
    Views:
    515
    Kevin Ortman
    Dec 5, 2003
  2. =?Utf-8?B?Sm9obiBOaW5hbg==?=

    PreRender Disables the User controls events

    =?Utf-8?B?Sm9obiBOaW5hbg==?=, Sep 24, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    544
    Martin Dechev
    Sep 24, 2004
  3. fredd00
    Replies:
    0
    Views:
    529
    fredd00
    Sep 29, 2005
  4. Robert
    Replies:
    0
    Views:
    457
    Robert
    Aug 30, 2007
  5. Jennifer Mathews

    Validation Controls and OnClientClick

    Jennifer Mathews, Sep 10, 2009, in forum: ASP .Net
    Replies:
    5
    Views:
    1,173
    Jennifer Mathews
    Sep 12, 2009
Loading...

Share This Page