Re: postback doesn't work with validators.!

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jos (jnospambranders_at_fastmail.fm)
Date: 02/22/05


Date: Tue, 22 Feb 2005 13:30:01 +0100


"Anushi" <someone@somewhere.com> wrote in message
news:uCFOzuMGFHA.1392@tk2msftngp13.phx.gbl...
> I have a strange problem.. once I put any validators on my form, say a
> simple RequiredFieldValidator, then there is no postback happening.
>
> Even on a button click, there is no refreshing of the form in the browser,
> and no postback !!!
>
> Is anyone else facing a similar problem ? What could be the possible
> reasons?
>
> I have even tried reinstalling VS.NET and IIS afresh, but no help !!

Sometimes this happens when you use ID's that conflict with particular
JavaScript methods or objects.
For instance, never give your button an ID="submit".

Jos


Quantcast