I am using .Net validation controls in my web application. I have my
validation summary defined as follows:
<asp:ValidationSummary HeaderText="Error Processing Submission"
id="ValidationSummary" DisplayMode="BulletList"
runat="server"></asp:ValidationSummary>
I have defined the follow in my external CSS:
#ValidationSummary{
width:80%;
font-weight:bold;
color:#990000;
background-color:#FFFFC0;
padding:5px;
margin-left:5px;
margin-right:5px;
margin-bottom:5px;
margin-top:5px;
border-color:#000000;
border-style:solid;
border-width:1px;
}
The display validation summary however is out like this:
<div id="ValidationSummary" headertext="Error Processing Submission"
style="color:Red;display:none;"></div>
Does anyone know why I am getting the style="color:Red;display:none;" in my
HTML output from teh validation summary control? It is preventing me from
correctly styling my error box. Thanks.
Travis D. Falls | Consultant RAFT.Net IT | 860.547.4070 |
[EMAIL PROTECTED]
*************************************************************************
PRIVILEGED AND CONFIDENTIAL: This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information. If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution is
strictly prohibited. If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/