Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: Day and month swap in Dynamic user control [15233]

$
0
0
I have a user control with a textbox for date of birth.

Contact.ascx

Date Of Birth:
<asp:TextBox ID="txtDOB" runat="server" CssClass="Date"></asp:TextBox>
<a href='javascript:void(0);'><img src="../Images/Calendar_scheduleHS.png" alt="From date" runat="server" id="ImageButtonDOB" /></a>

<cc1:MaskedEditExtender ID="MaskedEditExtenderDOB" runat="server"
TargetControlID="txtDOB"
Mask="99/99/9999"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"
ErrorTooltipEnabled="True"
Century="2000">
</cc1:MaskedEditExtender>

<cc1:CalendarExtender ID="CalendarExtenderDOB" runat="server"
Format="dd/MM/yyyy"
TargetControlID="txtDOB"
PopupButtonID="ImageButtonDOB">
</cc1:CalendarExtender>


This control gets dynamically loaded on the Main.aspx page several times.
On postback the I can still read the data as dd/MM/yyyy but when it renders again the data turns to MM/dd/yyyy.

What fun?
Comments: Issue is closed as it is fixed with April 2013 release.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>