Re: postback doesn't work with validators.!
From: Anushi (someone_at_somewhere.com)
Date: 02/23/05
- Previous message: Ekta Agarwal: "Re: how to time out the web asp.net application when not in use for 15 minutes"
- In reply to: Jos: "Re: postback doesn't work with validators.!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 23 Feb 2005 12:53:59 +0530
Thank you everyone for your inputs. However, I just got it working.
The .js files located here..
C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322 were bad.
I replaced them with the ones created when I ran resiis again ! They were
at.. C:\WINNT\Microsoft.NET\Framework\v1.1.4322\ASP.NETClientFiles
P.S. Ian Norman.. disabling client-side scripting is a work-around, yes. But
the validators start behaving wierdly after this. This has to do with the
client-side scripting, and the two javascript files which perform these
checks for you need to be in place :-)
"Jos" <jnospambranders@fastmail.fm> wrote in message
news:Oenu4eOGFHA.1396@tk2msftngp13.phx.gbl...
> "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
>
>
- Previous message: Ekta Agarwal: "Re: how to time out the web asp.net application when not in use for 15 minutes"
- In reply to: Jos: "Re: postback doesn't work with validators.!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]