trace("it's not defined");
ErrorMessage="Not a valid e-mail address" runat="server" />
After some searching I found a couple of pages that suggested it could be a font embed problem. http://mc-computing.com/languages/ActionScript/Rotating_Text.html has some good info on that. But the problem remained since I used "Anti-alias for readability" and had the font embedded.
Then the solution to an older problem struck me. I had prior had trouble with keeping the font format while changing the text. Appearently things like letter spacing etc is removed once the new text is set. The solution to this is to store away the font format, change the text and then set the font format back. I tested if that could be the case also for rotated text and it was!
var tf:TextFormat = txtHeader.getTextFormat();
txtHeader.text = "MY NEW TEXT";
What it turned out to be is the way ASP.NET renders XHTML. This is controlled within the web.config:
<xhtmlconformance mode="Legacy"/>Our problem was that the automaticly generated line said Legacy, what actually means ASP.NET 1.1 compatible. As we uses strict XHTML 1.0 a better choice would be:
<xhtmlconformance mode="Strict"/>And then, lo and behold, after changing mode to Strict the client side validation worked perfectly in Firefox!!
More about xhtmlConformance: