By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,711 Members | 2,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,711 IT Pros & Developers. It's quick & easy.

RequiredFieldValidator Will Not Submit Form

P: n/a
I've got a strange behavior on a new machine. I cannot get a web page
with a RequiredFieldValidator to submit the form.

My test case is simply a new project, add a textbox, a label, a
button, and a required field validator. Connect the ReqFV to the
textbox. In the onclick event for the button, copy the textbox
contents to the label to show something is working. If I *disable* the
client side validation, or use a browser other than IE (meaning the
framework disables client side), then the form will submit and do the
right thing. If I use IE and *enable* client side validation, then the
validator will work, meaning show the error message or hide it based
on the contents of the textbox, but will never submit the form.

I have run the aspnet_reregiis thingy already.
I have reinstalled/update visual studio and framework.
I have searched google and msdn.
I have loosened security.

Anyone have any ideas?

thanks,

Paul
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello Paul.

I had this exact problem last week. In fact, I posted about it in this
forum.

This url lead me to the fix for the problem:

http://weblogs.asp.net/pwilson/archi...16/230591.aspx

HTH
Craig

"Paul Hethmon" <pa**********@inslogic.com> wrote in message
news:7a**************************@posting.google.c om...
I've got a strange behavior on a new machine. I cannot get a web page
with a RequiredFieldValidator to submit the form.

My test case is simply a new project, add a textbox, a label, a
button, and a required field validator. Connect the ReqFV to the
textbox. In the onclick event for the button, copy the textbox
contents to the label to show something is working. If I *disable* the
client side validation, or use a browser other than IE (meaning the
framework disables client side), then the form will submit and do the
right thing. If I use IE and *enable* client side validation, then the
validator will work, meaning show the error message or hide it based
on the contents of the textbox, but will never submit the form.

I have run the aspnet_reregiis thingy already.
I have reinstalled/update visual studio and framework.
I have searched google and msdn.
I have loosened security.

Anyone have any ideas?

thanks,

Paul

Nov 18 '05 #2

P: n/a
Craig,

Followed the link and tried what it said. I copied the client side
files from:

C:\WINNT\Microsoft.NET\Framework\v1.1.4322\ASP.NET ClientFiles

to my aspnet_client\system_web\1_1_4322 directory. They had the same
dates before I did the copy. Copied them anyhow. After that, the thing
started working. I had already run the aspnet_regiis utility which
should have done the same thing. Heck if I know but it's working now.
Paul

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.