When leaving a textbox after selecting a date from the calendar control a JavaScript error is taken 'Undefined is null or not an object'
Ycur is null of not an object in AjaxControlToolkit.MaskedEditBehavior , AutoFormatNumber : function()
Line 1539 : Ycur = Ycur.substring(2);}
---.aspx page with gridview control --
<FooterTemplate>
<asp:TextBox id="tbDateToAccessF" tooltip="Date to begin access " runat="server" SkinID="FormTextBox" MaxLength="10" Width="80px" Text='<%# DataBinder.Eval(Container, "DataItem.DATE_TO_ACCESS") %>' AutoPostBack="false"></asp:TextBox>
<asp:RequiredFieldValidator id="rfvtbDateToAccessF" runat="server" ControlToValidate="tbDateToAccessF" ErrorMessage="Please enter a date to access" Display="None"></asp:RequiredFieldValidator>
<ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="rfvtbDateToAccessFE" TargetControlID="rfvtbDateToAccessF" HighlightCssClass="validatorCalloutHighlight" />
<asp:ImageButton runat="Server" id="imgDateToAccessF" ImageUrl="images/Calendar_scheduleHS.png" CausesValidation="false" AlternateText="Click to show calendar" /><br />
<ajaxToolkit:CalendarExtender id="ccDateToAccessF" runat="server" PopupButtonID="imgDateToAccessF" CssClass="MyCalendar" Format="MM/dd/yy"
TargetControlID="tbDateToAccessF" />
<ajaxToolkit:MaskedEditExtender id="meDateToAccessF" runat="server"
TargetControlID="tbDateToAccessF"
Mask="99/99/99"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"/>
</FooterTemplate>
---End .aspx page with gridview control --
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.
Ycur is null of not an object in AjaxControlToolkit.MaskedEditBehavior , AutoFormatNumber : function()
Line 1539 : Ycur = Ycur.substring(2);}
---.aspx page with gridview control --
<FooterTemplate>
<asp:TextBox id="tbDateToAccessF" tooltip="Date to begin access " runat="server" SkinID="FormTextBox" MaxLength="10" Width="80px" Text='<%# DataBinder.Eval(Container, "DataItem.DATE_TO_ACCESS") %>' AutoPostBack="false"></asp:TextBox>
<asp:RequiredFieldValidator id="rfvtbDateToAccessF" runat="server" ControlToValidate="tbDateToAccessF" ErrorMessage="Please enter a date to access" Display="None"></asp:RequiredFieldValidator>
<ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="rfvtbDateToAccessFE" TargetControlID="rfvtbDateToAccessF" HighlightCssClass="validatorCalloutHighlight" />
<asp:ImageButton runat="Server" id="imgDateToAccessF" ImageUrl="images/Calendar_scheduleHS.png" CausesValidation="false" AlternateText="Click to show calendar" /><br />
<ajaxToolkit:CalendarExtender id="ccDateToAccessF" runat="server" PopupButtonID="imgDateToAccessF" CssClass="MyCalendar" Format="MM/dd/yy"
TargetControlID="tbDateToAccessF" />
<ajaxToolkit:MaskedEditExtender id="meDateToAccessF" runat="server"
TargetControlID="tbDateToAccessF"
Mask="99/99/99"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"/>
</FooterTemplate>
---End .aspx page with gridview control --
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.