Wednesday, March 21, 2012

Trouble Using ValidatorCallout in Table

I am having trouble using a validatorcallout for a control located inside a table. The validatorcallout works; however, I can see the text

located behind the validatorcallout. See the image below.

Validator Callout

The text that appears behind the validatorcallout is a ASP label with text. Has anyone else had the problem? Is there a solution ?

Hi,

First, you can try to set the label's z-index to a lower value. For instance:
<style type="text/css">
.lb
{
z-index : -5;
}
</style>
<asp:Label ID="Label1" runat="server" Text="Label" CssClass="lb"></asp:Label>

Please refer to this thread: http://forums.asp.net/t/1123354.aspx if it doesn't work.


SmileThanks. Your solution works in IE. Howeverin a Mozilla browser the label disappears completely. I looked at the otherfixes you suggested, but I am little confused on how to implementthem. Any additional suggestions would greatlyappreciated.

No comments:

Post a Comment