|
|
||||||
|
#1
|
|
|
|
|
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. |
|
|
|
#2
|
|
|
|
|
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: [..] |
|
#3
|
|
|
|
|
"Anushi" <someone> wrote in message
news:1392 > 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 |
|
#4
|
|
|
|
|
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:080b [..] |
|
#5
|
|
|
|
|
Maybe you have just upgraded to Framework1.1 SP 1? Check this out:
BUG: The Submit button on ASP.NET pages does not work after you install the ..NET Framework 1.1 Service Pack 1 http://support.microsoft.com/default...b;en-us;889877 |
|
#6
|
|
|
|
|
Was going to add that see this for detailed explanation
http://scottonwriting.net/sowBlog/posts/2943.aspx |
|
#7
|
|
|
|
|
On Tue, 22 Feb 2005 15:33:10 +0200, "Teemu Keiski"
<joteke> wrote: >Was going to add that see this for detailed explanation >[..] Thank you I've been having this problem and had just got around it by disabling the client side checking! Thanks again. Would help if Microsofts KB article had the correct path in it though! C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322.aspne t_regiis.exe -c should be C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis.exe -c Doh. I |
|
#8
|
|
|
|
|
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> wrote in message news:1396 [..] |
|
|
| Similar Threads | |
| Thread | Thread Starter |
| Why are my validators refusing to work? Hi guys, this is really driving me crazy, any help appreciated. using ASP.NET 2.0 in VS 2005 and reviewing with IE7. I have some fields with validators attached to them. If... |
Tarun Mistry |
| HTML validators do not work on FP web I used FP (several versions over time) to build my website. When I try to have my html checked by one of several validators, such as [..], I am told that there are 144... |
Walter R. |
| 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... |
Anushi |
| postback doesn't work in ascx Hi all, i've got a control that has a button and when clicked on it would send a postback, all of this works fine when the control is placed on a webform (aspx) but doesn't... |
Maersa |
| HTML Reset Button Doesn't work after postback with Submit button Hi, I have an HTML RESET button and Web Control Button that posts back to the server. Problem is the reset button doesn't work after the postback occurs. Any ideas... |
Chris Lane |
|
Privacy Policy | All times are GMT. The time now is 03:40 PM.
|
|
|