I have a problem with my validation controls getting the auto-generated inline style "color" and "visibility", and thereby ignoring my linked in CSS.
I've read about setting the ForeColor="" and the Display=Dynamic, but my biggest problem is that the controls only get this inline setting in our production environment...not in my local machine.
Our production system uses IIS 6.0 but my local machine uses IIS 7.0. Could this be the issue? And how do I solve it?
When I look at the html source code it looks like this:
Production:
<span id="ctl00_BodyContentPlaceHolder_PxPaymentControl_rfvEmail" class="errorValidators" style="color:Red;visibility:hidden;">Required</span>
Local machine:
<span
id="ctl00_BodyContentPlaceHolder_PxPaymentControl_rfvEmail"
class="errorValidators">Required</span>
I have no such thing as the "style=color:Red;visibility:hidden;" in my code. Why does this happen, and why does it not happen on my local machine?
Please help me, Im stucked.
Pedlin