Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MaskedEditExtender breaking date databinding
Message
Information générale
Forum:
ASP.NET
Catégorie:
AJAX
Titre:
MaskedEditExtender breaking date databinding
Divers
Thread ID:
01297433
Message ID:
01297433
Vues:
56
I'm using a MaskedEditExtender and MaskedEdtitValidator for date formatting in a textbox. But now the databinding isn't working. I'm using MM.Net, so that may be an issue, but I thought I'd post in this thread to see if anyone else has had issues with this.

Here's the markup for the controls:
<mm:mmTextBox ID="txtVisit" runat="server" Width="68px" BindingSource="Visit" 
BindingSourceMember="VDate" 
DisplayFormat="{0:MM-dd-yyyy}" 
AccessLevel="Full" 
ControlID="00000000-0000-0000-0000-000000000000" 
IsPostBack="False" 
SecuritySetup="True" 
UserFieldName="">
</mm:mmTextBox>

<cc1:MaskedEditValidator ID="VisitDateMaskedEditValidator" runat="server" ControlExtender="VisitDateMaskedEditExtender"
ControlToValidate="txtVisit" 
Display="Dynamic" 
EmptyValueBlurredText="*" 
EmptyValueMessage="Date is required"
ErrorMessage="*" 
InvalidValueBlurredMessage="*"
InvalidValueMessage="Date is invalid"
Width="1px">
</cc1:MaskedEditValidator>

<cc1:MaskedEditExtender ID="VisitDateMaskedEditExtender" runat="server" 
CultureAMPMPlaceholder="AM;PM"
CultureCurrencySymbolPlaceholder="$"
CultureDateFormat="MDY" 
CultureDatePlaceholder="/" 
CultureDecimalPlaceholder="."
CultureName="en-US" CultureThousandsPlaceholder="," CultureTimePlaceholder=":"
Enabled="True" 
ErrorTooltipEnabled="True" 
Mask="99/99/9999" 
MaskType="Date" 
TargetControlID="txtVisit">
</cc1:MaskedEditExtender> 
Regards,

E.R. Gilmore
Répondre
Fil
Voir

Click here to load this message in the networking platform