开发者

MaskedEditValidator baloon tooltip - AJAX Control Toolkit

开发者 https://www.devze.com 2023-01-27 23:43 出处:网络
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 everywhe

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" />
0

精彩评论

暂无评论...
验证码 换一张
取 消