Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Stopping client side event validation

Thread Tools

Stopping client side event validation
Posts: n/a
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.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Client side script after client side validation with 2.0 Boss302 ASP .Net 0 11-21-2006 08:43 AM
Stopping client side event validation Paul ASP .Net 3 09-12-2006 10:20 AM
Stopping client side event validation ASP .Net Web Controls 0 09-11-2006 05:10 AM
Using both server side validation and client side validation =?Utf-8?B?dmlkeWE=?= ASP .Net 1 06-02-2005 09:45 PM
ASP.NET Web Forms Validation Controls are Server-Side or Client-Side Validation? Matt ASP .Net 14 01-30-2004 09:15 AM