Stopping client side event validation

Discussion in 'ASP .Net Building Controls' started by paul.hester@gmail.com, Sep 11, 2006.

  1. Guest

    Hi all,

    I've been trying unsuccessfully to stop client side event validation.
    I've created a simple page with a text box, a required field validator
    and a server button with the following settings:

    1. <pages enableEventValidation="false"> in web.config
    2. EnableClientScript="false" in the required field validator.
    3. EnableEventValidation="false" in the Page directive (which, I know,
    is not necessary).

    I can programmatically check the web.config setting and it is correctly
    set to "false".

    Whenever the validator is on the form, it generates all of the extra
    javascript (the onclick for the button, and the __EVENTTARGET and
    __EVENTARGUMENT hidden inputs).

    Is there anything I'm missing here? I just want to have server-side
    validation without the client script but there doesn't appear to be an
    easy way to turn this off.

    Any help would be much appreciated.

    Thanks,

    Paul
    , Sep 11, 2006
    #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. Matt
    Replies:
    14
    Views:
    4,060
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  2. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    735
    Kevin Spencer
    Jun 2, 2005
  3. Paul
    Replies:
    3
    Views:
    802
    Grant Merwitz
    Sep 12, 2006
  4. Boss302
    Replies:
    0
    Views:
    1,005
    Boss302
    Nov 21, 2006
  5. Stopping client side event validation

    , Sep 11, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    143
Loading...

Share This Page