I'm using MaskedEditValidator for validating Date input. I want to show b开发者_如何学JAVAalloon like tool tip instead of the normal message in red color which is creating alignment problems everywhere.
I have to stick to MaskedEditValidator as lot of implementation is already done around it.
AJAX Control ToolKit Version : 3.5.40412.0
You can use the ValidatorCallout extender for that purpose:
<ajaxToolkit:MaskedEditValidator ID="YourMaskedEditValidator" runat="server"
ControlExtender="YourMaskedEditExtender"
ControlToValidate="YourMaskedTextBox" Display="None" />
<ajaxToolkit:ValidatorCalloutExtender ID="YourMaskedEditCallout" runat="server"
TargetControlID="YourMaskedEditValidator" />
精彩评论