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. Advertisements

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. Libs
    Replies:
    0
    Views:
    1,723
  2. Matt
    Replies:
    14
    Views:
    4,522
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  3. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    937
    Kevin Spencer
    Jun 2, 2005
  4. Paul
    Replies:
    3
    Views:
    960
    Grant Merwitz
    Sep 12, 2006
  5. Boss302
    Replies:
    0
    Views:
    1,350
    Boss302
    Nov 21, 2006
  6. Bogdan
    Replies:
    2
    Views:
    855
    Bogdan
    Jun 9, 2008
  7. Guest

    Fire server side event before client side event

    Guest, Mar 17, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    830
    Ken Cox [Microsoft MVP]
    Mar 18, 2005
  8. Stopping client side event validation

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