Re: Validators not validating anymore. ??



Very strange.
Can you create one simple page with just a textbox, required field Validator
and a button and see if it does the same thing in a new web project?
and see what happens.

SA

"ShaneFowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx> wrote in message
news:%23hSO9yhbGHA.3348@xxxxxxxxxxxxxxxxxxxxxxx
Yes. I'm at a complete loss. JS is enabled. Same behavior on multiple
machines. I deleted and recreated the site in IIS. I cleared my IE
cache. It's as if my Page.IsValid = True is totally ignored......


"MSDN" <sql_agentman@xxxxxxxxxxx> wrote in message
news:OGmjnphbGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
Could it be SmartNavigation or some other JavaScript clashing with it.
Is JavaScript enabled on the client.
Does it work or not work from all clients.

SA


"ShaneFowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx> wrote in message
news:%239lr7jhbGHA.4900@xxxxxxxxxxxxxxxxxxxxxxx
Yep. The button does cause validation. I typically do server side
edits in addition to the validators. But I still need and want to
figure out why they quit working.....



"MSDN" <sql_agentman@xxxxxxxxxxx> wrote in message
news:OJ1xCWhbGHA.5104@xxxxxxxxxxxxxxxxxxxxxxx

Are you sure that your submit button's causes validation property is
set to true.
Also always check all inputs again in code behind or some other layer
to prevent errors.
Also what if the client turned JavaScript off. < Another problem.
what do you do then.

SA

"ShaneFowlkes" <shanefowlkes@xxxxxxxxxxxxxxxxx> wrote in message
news:uiBMVNhbGHA.1208@xxxxxxxxxxxxxxxxxxxxxxx
For some reason, my validator controls stopped working when a form
posts. They seems to work on fields that lose focus but if I submit a
form with all empty fields, not of the required validators catch it
and this results in runtime errors with my code.

It's real standard stuff using .NET 2 (VB). I've stopped and
restarted IIS several times and I even re-registered the NET service
using this at the command prompt:
c:\windows\microsoft.net\framework\v2.0.50727>aspnet_regiss -i

The aspnet_client folder also does exist on the server.

Any ideas?













.