Ask a Question related to ASP.NET General, Design and Development.
-
pc #1
Question about RequiredFieldValidator
I've created a simple form with a submit button and a textfield. I
assigned a RequiredFieldValidator to the textfield and set
EnabledClientScript to ture. I noticed the validator did not display
the error message if the textfield was empty. It seems to me that the
client side validation script did not executed. After I pressed the
submit button, the validator displayed the error message. I tried
entering and clearing the textfield without pressing the submit button
and everything worked as described in the documentation. So my
question is why isn't the client side validation work the first time
(before pressing the submit button)? Is this by desgin?
pc Guest
-
ValidatorTrim(s) & RequiredFieldValidator bug w/Windows XP SP2 and IE SP2
Ever since I upgraded to Windows XP SP2, I started noticing that the RequiredFieldValidator on a textbox on one of my ASP.Net pages was taking a... -
How to learn the base class: RequiredFieldValidator?
Folks, I am trying to extend the RequiredFieldValidator control. What I am trying to accomplish should be mindlessly simple: if the... -
Using RequiredFieldValidator in FooterTemplate
Hi, I'm having pasted below when trying to use a RequiredFieldValidtator(RFV) in the Footer Template. Here is a snipet of the code. Note that... -
Going crazy with requiredfieldvalidator controls . Kindly help me
Hello friends... On a single asp.net web page i have a single server-side form that contains a couple of user-controls. Each user control has its... -
ASP:RequiredFieldValidator control is not working on Netscape 7.
ASP:RequiredFieldValidator is not working on Netscape 7. Any one has idea how to fix this problem? -
Ken Cox [Microsoft MVP] #2
Re: Question about RequiredFieldValidator
Is it possible that the validator is detecting the browser as "downlevel" and
therefore not emitting the client-side script? If the browser version isn't
known to ASP.NET you may have problems like this.
Is there any evidence of the client-side script when you view the source of a
rendered page?
Ken
"pc" <peterchang_69@yahoo.com> wrote in message
news:1e2f54c.0307271629.14a147d5@posting.google.co m...
I've created a simple form with a submit button and a textfield. I
assigned a RequiredFieldValidator to the textfield and set
EnabledClientScript to ture. I noticed the validator did not display
the error message if the textfield was empty. It seems to me that the
client side validation script did not executed. After I pressed the
submit button, the validator displayed the error message. I tried
entering and clearing the textfield without pressing the submit button
and everything worked as described in the documentation. So my
question is why isn't the client side validation work the first time
(before pressing the submit button)? Is this by desgin?
Ken Cox [Microsoft MVP] Guest
-
Peter Chang #3
Re: Question about RequiredFieldValidator
I'm using IE 6. I don't think it has anything to do with the browser. Client
side validation work correctly after I pressed the submit button.
"Ken Cox [Microsoft MVP]" <BANSPAMken_cox@sympatico.ca> wrote in message
news:eCAnmSKVDHA.2272@TK2MSFTNGP10.phx.gbl...and> Is it possible that the validator is detecting the browser as "downlevel"isn't> therefore not emitting the client-side script? If the browser versionof a> known to ASP.NET you may have problems like this.
>
> Is there any evidence of the client-side script when you view the source> rendered page?
>
> Ken
>
>
> "pc" <peterchang_69@yahoo.com> wrote in message
> news:1e2f54c.0307271629.14a147d5@posting.google.co m...
> I've created a simple form with a submit button and a textfield. I
> assigned a RequiredFieldValidator to the textfield and set
> EnabledClientScript to ture. I noticed the validator did not display
> the error message if the textfield was empty. It seems to me that the
> client side validation script did not executed. After I pressed the
> submit button, the validator displayed the error message. I tried
> entering and clearing the textfield without pressing the submit button
> and everything worked as described in the documentation. So my
> question is why isn't the client side validation work the first time
> (before pressing the submit button)? Is this by desgin?
>
>
Peter Chang Guest



Reply With Quote

