hi, im using a masked edit extender to extend a textbox which allows the user to enter a time (stored as string) in 99:99 format. I want to validate the time to check if it is valid...eg. 78:65 is not accepted but 09:55 is. I used a masked edit validator to validate the textbox....but it doesnt seem to work....how can i accomplish this? thanks
code:
<
div>
<asp:Label CssClass="AlignPopupLabel" ID="CaptionDeliveryTime" runat="server" Text="Delivery Time:"></asp:Label>
<asp:TextBox CssClass="NameDataTextbox" ID="TextboxDeliveryTime" runat="server"></asp:TextBox><cc1:MaskedEditValidator ID="MaskedEditValidatorDeliveryTime" runat="server" ControlToValidate="TextboxDeliveryTime"
ControlExtender="MaskedEditExtenderDeliveryTime" ErrorMessage="Invalid Delivery Time" IsValidEmpty="true" ValidationGroup="Page"></cc1:MaskedEditValidator></div><cc1:MaskedEditExtender ID="MaskedEditExtenderDeliveryTime" runat="server" Mask="99:99" MaskType="Time" TargetControlID="TextboxDeliveryTime">
</
cc1:MaskedEditExtender>