Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > required field validator doesn't show message on server validation

Reply
Thread Tools

required field validator doesn't show message on server validation

 
 
z. f.
Guest
Posts: n/a
 
      08-03-2004
Hi,

i have a field with required field validator.
on the client side it's working.
when i submit without the required field the page gets back because of not
valid, but the message from the validator is not shown!

what is wrong?

TIA, z.



 
Reply With Quote
 
 
 
 
Scott Allen
Guest
Posts: n/a
 
      08-03-2004
Hi z.f:

If you can post the code you are using in a small sample someone an
probably see what is going wrong.

--
Scott
http://www.OdeToCode.com

On Tue, 3 Aug 2004 12:20:06 +0200, "z. f."
<> wrote:

>Hi,
>
>i have a field with required field validator.
>on the client side it's working.
>when i submit without the required field the page gets back because of not
>valid, but the message from the validator is not shown!
>
>what is wrong?
>
>TIA, z.
>
>


 
Reply With Quote
 
 
 
 
Thomas Dodds
Guest
Posts: n/a
 
      08-03-2004
To show the error message in the summary you have to set the ErrorMessage
property - setting the Text property only shows the client-side message (if
I am not mistaken) ...

"z. f." <> wrote in message
news:...
> Hi,
>
> i have a field with required field validator.
> on the client side it's working.
> when i submit without the required field the page gets back because of not
> valid, but the message from the validator is not shown!
>
> what is wrong?
>
> TIA, z.
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript validation for a not required field, field is onlyrequired if another field has a value jr Javascript 3 07-08-2010 10:33 AM
Re: Required Field Validator Message Craig Deelsnyder ASP .Net 0 03-07-2005 08:01 PM
Custom validator doesnt show error message but shows server error =?Utf-8?B?cG11ZA==?= ASP .Net 8 02-11-2005 09:13 PM
Problems with Validation Summary and Required Field Validator under Windows 2003 Alfonso Alvarez ASP .Net 0 05-13-2004 10:23 AM
Required Field Validator Client side popup Jinsong Liu ASP .Net 3 08-14-2003 07:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57