Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > HOWTO: Set Validation Summary Message Display Color

Reply
Thread Tools

HOWTO: Set Validation Summary Message Display Color

 
 
Dan Sikorsky
Guest
Posts: n/a
 
      02-08-2005
Even though the documentation says the default color of the validation
summary message display color is red, my color is showing black. I've even
set the ForeColor attribute in the asp:validationsummary tag to red, but it
still shows black. How can I resolve this?


 
Reply With Quote
 
 
 
 
Gopal \(FMS, Inc.\)
Guest
Posts: n/a
 
      02-08-2005
Can you please post the code in your aspx page?
--
Gopal Rangaswamy
Microsoft Certified Solutions Developer
FMS, Inc.
<http://www.fmsinc.com/consulting>
<http://www.fmsinc.com/dotnet/SourceBook/>

"Dan Sikorsky" <> wrote in message
news:...
> Even though the documentation says the default color of the validation
> summary message display color is red, my color is showing black. I've even
> set the ForeColor attribute in the asp:validationsummary tag to red, but

it
> still shows black. How can I resolve this?
>
>



 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      02-08-2005
What if you look at the resulting HTML code ?

Patrice

--

"Dan Sikorsky" <> a écrit dans le message de
news:...
> Even though the documentation says the default color of the validation
> summary message display color is red, my color is showing black. I've even
> set the ForeColor attribute in the asp:validationsummary tag to red, but

it
> still shows black. How can I resolve this?
>
>



 
Reply With Quote
 
Dan Sikorsky
Guest
Posts: n/a
 
      02-08-2005
Solution:

The .css file declared the Unordered List tag, which is how the validation
messages are displayed, to have a default style. By removing this from the
..css file, the forecolor is now Red.


"Dan Sikorsky" <> wrote in message
news:...
> Even though the documentation says the default color of the validation
> summary message display color is red, my color is showing black. I've even
> set the ForeColor attribute in the asp:validationsummary tag to red, but

it
> still shows black. How can I resolve this?
>
>



 
Reply With Quote
 
gretchen@cmi.gccoxmail.co gretchen@cmi.gccoxmail.co is offline
Junior Member
Join Date: Jan 2008
Posts: 1
 
      01-12-2008
Thanks for the info - you saved me considerable time!
 
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
Not able to display color in excel not able to display color in excel using xml sed_y XML 0 02-15-2012 09:46 PM
Getting the validation summary message to display: help... JJ_377@hotmail.com ASP .Net 1 08-24-2005 03:49 PM
Using Summary Validation control with server Custom validation =?Utf-8?B?QmFyYmFyYSBBbGRlcnRvbg==?= ASP .Net 2 10-15-2004 06:15 PM
Displaying a Validation Error in a Validation Summary Control Lucas Tam ASP .Net 2 02-26-2004 07:49 PM
validation summary doesnt display when there's client-side validation Libs ASP .Net 0 06-25-2003 03:05 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