Ask a Question related to ASP.NET Security, Design and Development.
-
Anushi #1
postback doesn't work with validators.!
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 !!
Please suggest.
Thanks.
Anushi Guest
-
Validators
I gave up and just wrote my own validator to handle all my date validation. bill "J. Marcelo Barbieri" <mbarbieri@bf.com.br> wrote in message... -
Combo Box & Validators
Hi, I am trying to validate a form in Flex. The form is made up of many text input boxes and combo boxes. I can validate the text inputs quite... -
JS validation doesnt work when NET build-in validators are used
I am frustrated by the issue, and looking for a workaround. I have a dropdown list, and a button and some other controls on the page. When the... -
Validators in version 1.1
We have a technique for our order process whereby we simply turn panels on and off to capture data for the various stages, rather than the normal... -
After PostBack my UserControls Property doesn't work correct
Hello, I have this page.aspx ---------- <%@ Register TagPrefix="uc1" TagName="Userdetails" Src="Userdetails.ascx" %> ... <asp:datagrid... -
DotNetJerome #2
RE: postback doesn't work with validators.!
Hi Anushi,
Really strange probs...
Postback will not happened, only if the validator controls are not met their
requirements or conditions. Otherwise post back has to occur.
Make sure that you are clearing all the coditions of the vaildator
control(s) you placed in your web form.
Cheers,
Jerome. M
"Anushi" wrote:
> 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 !!
>
> Please suggest.
>
> Thanks.
>
>
>
>
>DotNetJerome Guest
-
Jos #3
Re: postback doesn't work with validators.!
"Anushi" <someone@somewhere.com> wrote in message
news:uCFOzuMGFHA.1392@tk2msftngp13.phx.gbl...Sometimes this happens when you use ID's that conflict with particular> 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 !!
JavaScript methods or objects.
For instance, never give your button an ID="submit".
Jos
Jos Guest
-
Anushi #4
Re: postback doesn't work with validators.!
Hi Jerome,
Thanks for the response.
My validators are correctly set.
I tried the same application on other machines, they are working fine. So I
am suspecting there are some system level configurations which are missing..
maybe something in the machine.config file..
any ideas ?
Thanks again !
"DotNetJerome" <reachjerome@_yahoo.com-remove-the-underscore-after@> wrote
in message news:068AF46A-AF31-418F-A5EA-A91B9B1B080B@microsoft.com...their> Hi Anushi,
>
> Really strange probs...
>
> Postback will not happened, only if the validator controls are not metbrowser,> requirements or conditions. Otherwise post back has to occur.
>
> Make sure that you are clearing all the coditions of the vaildator
> control(s) you placed in your web form.
>
> Cheers,
>
> Jerome. M
>
>
>
>
> "Anushi" wrote:
>> > 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> > 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 !!
> >
> > Please suggest.
> >
> > Thanks.
> >
> >
> >
> >
> >
Anushi Guest
-
Anushi #5
Re: postback doesn't work with validators.!
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_43 22 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.NET ClientFiles
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...browser,> "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>> > 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
>
>
Anushi Guest



Reply With Quote

