Joe Fawcett said:
I seem to recall it uses the 'alert' CSS style. If you set up a page with
a validator set to displayStyle="static" then you should be bale to use
view-source to see the style of the span containing the error message.
I've been reading Help and searching the internet in an attempt to
understand your reply without results.
1) I looked at the alert method and the alert message box but they do not
advertize a css style. Are there some styles that are built-in and used by
these controls? Guess I dont knoe what "'alert' CSS style" means.
2) I list the view-source that resulted from the CreateUserWizard below. The
important line is:
<span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_EmailRegExp"
style="color:Red;display:none;">The email format is invalid.</span></td>
I see the "color:Red" but if I apply that to the asp.CreateUserWizard all
the text is red.
3)I did not do with a validator set to displayStyle="static"
because I did not know how to nor could I find documentation.
Thanks for replying
<td><table cellspacing="0" cellpadding="0" border="0"
style="height:100%;width:100%;border-collapse:collapse;">
<tr>
<td style="height:100%;width:100%;"><table border="0"
style="height:100%;width:100%;">
<tr>
<td align="center" colspan="2">Sign Up for Your New Account</td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_UserName">User
Name:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$UserName"
type="text"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_UserName"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_UserNameRequired"
title="User Name is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Password">Password:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$Password"
type="password"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Password"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_PasswordRequired"
title="Password is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_ConfirmPassword">Confirm
Password:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$ConfirmPassword"
type="password"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_ConfirmPassword"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_ConfirmPasswordRequired"
title="Confirm Password is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Email">E-mail:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$Email"
type="text"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Email"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_EmailRequired"
title="E-mail is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Question">Security
Question:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$Question"
type="text"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Question"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_QuestionRequired"
title="Security question is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="right"><label
for="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Answer">Security
Answer:</label></td><td><input
name="ctl00$MainMasterDataRightID$CreateUserWizard1$CreateUserStepContainer$Answer"
type="text"
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_Answer"
/><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_AnswerRequired"
title="Security answer is required."
style="color:Red;visibility:hidden;">*</span></td>
</tr><tr>
<td align="center" colspan="2"><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_PasswordCompare"
style="color:Red;display:none;">The Password and Confirmation Password must
match.</span></td>
</tr><tr>
<td align="center" colspan="2"><span
id="ctl00_MainMasterDataRightID_CreateUserWizard1_CreateUserStepContainer_EmailRegExp"
style="color:Red;display:none;">The email format is invalid.</span></td>
</tr>
</table></td>
</tr>
</table></td>