Good job,
but I found this problem:
code:
<div class="groupFormButtonSearch">
<asp:TextBox ID="txtDtaLimite" runat="server" Width="100%" TabIndex="12" MaxLength="10" placeHolder=" " CssClass="txtCustomWaterMark resetCursor customControlSearch"></asp:TextBox>
<span class="spanBtnSearch">
<asp:ImageButton ID="btnCalendarDataLimite" runat="server" CssClass="btnSearch" ImageUrl="~/btnImgCalendario.png" TabIndex="13" />
</span>
</div>
<asp:RequiredFieldValidator ID="RFVDataLimite" runat="server" ControlToValidate="txtDtaLimite" Display="None" ErrorMessage="Preencha a data limite." Font-Names="Tahoma" Font-Size="X-Small" SetFocusOnError="True" ValidationGroup="ValidadorCadastroAtendimentos" CssClass="hideValidator">*</asp:RequiredFieldValidator>
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" TargetControlID="txtDtaLimite" runat="server" Format="dd/MM/yyyy" PopupButtonID="btnCalendarDataLimite" />
<ajaxToolkit:ValidatorCalloutExtender ID="RFVDataLimite_VCE" runat="server" Enabled="True" TargetControlID="RFVDataLimite"></ajaxToolkit:ValidatorCalloutExtender>
<ajaxToolkit:MaskedEditExtender ID="MEEDtaLimite" runat="server" TargetControlID="txtDtaLimite" Mask="99/99/9999" AutoComplete="true" ClearTextOnInvalid="true" MaskType="Date" AcceptAMPM="false" AcceptNegative="None" InputDirection="LeftToRight" UserDateFormat="DayMonthYear"></ajaxToolkit:MaskedEditExtender>
error:
Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.MaskedEditBehavior=function(n){Sys.Extended.UI.MaskedEditBehavior.initializeBase(this,[n]);this._Mask="";this._MaskType=Sys.Extended.UI.MaskedEditType.None;this._Filtered="";this._PromptChar="_";this._InputDirection=Sys.Extended.UI.MaskedEditInputDirections.LeftToRight;this._MessageValidatorTip=!0;this._ShowMessageErrorFloat=!1;this._CssMessageErrorFloat="";this._AutoComplete=!0;this._AutoCompleteValue="";this._ClearTextOnInvalid=!1;this._ClearMaskOnLostfocus=!0;this._AcceptAmPm=Sys.Extended.UI.MaskedEditShowSymbol.None;this._AcceptNegative=Sys.Extended.UI.MaskedEditShowSymbol.None;this._DisplayMoney=Sys.Extended.UI.MaskedEditShowSymbol.None;this._OnFocusCssClass="MaskedEditFocus";this._OnInvalidCssClass="MaskedEditError";this._OnFocusCssNegative="MaskedEditFocusNegative";this._OnBlurCssNegative="MaskedEditBlurNegative";this._CultureName=Sys.CultureInfo.CurrentCulture.name;this._UserDateFormat=Sys.Extended.UI.MaskedEditUserDateFormat.None;this._UserTimeFormat=Sys.Extended.UI.MaskedEditUserTimeFormat.None;this._CultureDatePlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.DateSeparator;this._CultureTimePlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.TimeSeparator;this._CultureDecimalPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.NumberDecimalSeparator;this._CultureThousandsPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.NumberGroupSeparator;this._CultureDateFormat="MDY";var t=Sys.CultureInfo.CurrentCulture.dateTimeFormat.ShortDatePattern.split(this._CultureDatePlaceholder);t.length>=3&&(this._CultureDateFormat=t[0].substr(0,1).toUpperCase()+t[1].substr(0,1).toUpperCase()+t[2].substr(0,1).toUpperCase());this._CultureCurrencySymbolPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.CurrencySymbol;this._CultureAMPMPlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.PMDesignator+";"+Sys.CultureInfo.CurrentCulture.dateTimeFormat.PMDesignator;this._AMPMPlaceholderSeparator=";";this._Century=1900;this._AllowCopyPaste=!0;this._ClipboardText=Sys.Extended.UI.Resources&&Sys.Extended.UI.Resources.Shared_BrowserSecurityPreventsPaste||"Your browser security settings don't permit the automatic execution of paste operations. Please use the keyboard shortcut Ctrl+V instead.";this._CharsEditMask="9L$CAN?";this._CharsSpecialMask="/:.,";this._MaskConv="";this._EmptyMask="";this._maskvalid="";this._DirectSelText="";this._initialvalue="";this._LogicSymbol="";this._LogicTextMask="";this._LogicMask="";this._LogicMaskConv="";this._LogicPrompt=String.fromCharCode(1);this._LogicEscape=String.fromCharCode(2);this._LogicFirstPos=-1;this._LogicLastPos=-1;this._LogicLastInt=-1;this._LogicDateTimeSepPos=-1;this._QtdValidInput=0;this._InLostfocus=!1;this._ExternalMessageError="";this._CurrentMessageError="";this._FiringOnChange=!1;this._ErroOnEnter=!1;this._charLetters="ABCDEFGHIJKLMNOPQRSTUVWXYZ";this._charNumbers="0123456789";this._charEscape="\\";this._DelimitStartDup="{";this._DelimitEndDup="}";this._focusHandler=null;this._keypressdown=null;this._keypressHandler=null;this._blurHandler=null;this._mouseOutHandler=null;this._mouseOutHandler=null;this._mouseMoveHandler=null;this._mouseEnterHandler=null;this._changeHandler=null;this._timer=null;this._timerHandler=null;this._SaveSymb="";this._SaveText="";this._SavePosi=-1;this._SaveMask="";this._SaveKeyDown=0};Sys.Extended.UI.MaskedEditBehavior.prototype={initialize:function(){var n=this.get_element(),t,i,r,u;this._InLostfocus=!0;Sys.Extended.UI.MaskedEditBehavior.callBaseMethod(this,"initialize");this._createMask();t=!1;i=this.get_ClientState();i!=null&&i!=""&&(t=i=="Focused",this.set_ClientState(null));try{n===document.activeElement&&(t=!0)}catch(f){}this._ShowMessageErrorFloat&&(this._mouseOutHandler=Function.createDelegate(this,this._onMouseOut),$addHandler(n,"mouseout",this._mouseOutHandler),this._mouseMoveHandler=Function.createDelegate(this,this._onMouseMove),$addHandler(n,"mousemove",this._mouseMoveHandler),this._mouseEnterHandler=Function.createDelegate(this,this._onMouseover),$addHandler(n,"mouseover",this._mouseEnterHandler));n.readOnly||(this._keypressdown=Function.createDelegate(this,this._onKeyPressdown),$addHandler(n,"keydown",this._keypressdown),this._keypressHandler=Function.createDelegate(this,this._onKeyPress),$addHandler(n,"keypress",this._keypressHandler));this._focusHandler=Function.createDelegate(this,this._onFocus);$addHandler(n,"focus",this._focusHandler);this._blurHandler=Function.createDelegate(this,this._onBlur);$addHandler(n,"blur",this._blurHandler);this._changeHandler=Function.createDelegate(this,this._onChange);$addHandler(n,"change",this._changeHandler);Sys.Browser.agent==Sys.Browser.Opera&&(this._timerHandler=Function.createDelegate(this,this._OnTimerTicket),this._timer=new Sys.Timer,this._timer.set_enabled(!1),this._timer.set_interval(100),this._timer.add_tick(this._timerHandler),this._SaveText="",this._SavePosi=-1,this._timer.set_enabled(!0));r=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(n);this._InitValue(r.get_Value(),!0);t?this._onFocus():(this._ClearMaskOnLostfocus&&r.set_Value(this._getClearMask(r.get_Value())),u=this._CaptureServerValidators(),u||this._OnInvalidCssClass!=""&&this.AddCssClassMaskedEdit(this._OnInvalidCssClass))},dispose:function(){var n=this.get_element();this._mouseOutHandler&&($removeHandler(n,"mouseout",this._mouseOutHandler),this._mouseOutHandler=null);this._mouseMoveHandler&&($removeHandler(n,"mousemove",this._mouseMoveHandler),this._mouseMoveHandler=null);this._mouseEnterHandler&&($removeHandler(n,"mouseover",this._mouseEnterHandler),this._mouseEnterHandler=null);this._focusHandler&&($removeHandler(n,"focus",this._focusHandler),this._focusHandler=null);this._focusHandler&&($removeHandler(n,"focus",this._focusHandler),this._focusHandler=null);this._blurHandler&&($removeHandler(n,"blur",this._blurHandler),this._blurHandler=null);this._changeHandler&&($removeHandler(n,"change",this._changeHandler),this._changeHandler=null);this._keypressdown&&($removeHandler(n,"keydown",this._keypressdown),this._keypressdown=null);this._keypressHandler&&($removeHandler(n,"keypress",this._keypressHandler),this._keypressHandler=null);this._timerHandler&&(this._timer.set_enabled(!1),this._timerHandler=null,this._timer.dispose(),this._timer=null);Sys.Extended.UI.MaskedEditBehavior.callBaseMethod(this,"dispose")},_OnTimerTicket:function(){if(this._SaveSymb="",!this._InLostfocus){this._timer.set_enabled(!1);var n=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(this.get_element());this._SaveText!=""?(n.set_Value(this._SaveText),this.setSelectionRange(this._SavePosi,this._SavePosi),this._SaveText="",this._SavePosi=-1,this._SaveMask=n.get_Value()):(n.get_Value().length!=this._EmptyMask.length&&n.set_Value(this._SaveMask),this._timer.get_interval()!=100&&this._timer.set_interval(100));this._timer.set_enabled(!0)}},_onChange:function(){this._FiringOnChange||this._onFocus()},_onFocus:function(){var n=this.get_element(),i,t,r,u;n.readOnly||n.disabled||(this._keypressdown||(this._keypressdown=Function.createDelegate(this,this._onKeyPressdown),$addHandler(n,"keydown",this._keypressdown)),this._keypressHandler||(this._keypressHandler=Function.createDelegate(this,this._onKeyPress),$addHandler(n,"keypress",this._keypressHandler)),this._InLostfocus=!1,this._RemoveDivToolTip(),this._OnFocusCssClass!=""&&this.AddCssClassMaskedEdit(this._OnFocusCssClass),i=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(n),this._initialvalue=i.get_Value(),this._InitValue(i.get_Value(),!1),t=this._getClearMask(),r=!1,this._MessageValidatorTip&&t==""&&(r=!0),(this._MaskType==Sys.Extended.UI.MaskedEditType.Time||this._MaskType==Sys.Extended.UI.MaskedEditType.DateTime)&&this.get_CultureAMPMPlaceholder()!=""&&t==""?this._AcceptAmPm&&this.InsertAMPM(this.get_CultureAMPMPlaceholder().substring(0,1)):this._MaskType==
but I found this problem:
code:
<div class="groupFormButtonSearch">
<asp:TextBox ID="txtDtaLimite" runat="server" Width="100%" TabIndex="12" MaxLength="10" placeHolder=" " CssClass="txtCustomWaterMark resetCursor customControlSearch"></asp:TextBox>
<span class="spanBtnSearch">
<asp:ImageButton ID="btnCalendarDataLimite" runat="server" CssClass="btnSearch" ImageUrl="~/btnImgCalendario.png" TabIndex="13" />
</span>
</div>
<asp:RequiredFieldValidator ID="RFVDataLimite" runat="server" ControlToValidate="txtDtaLimite" Display="None" ErrorMessage="Preencha a data limite." Font-Names="Tahoma" Font-Size="X-Small" SetFocusOnError="True" ValidationGroup="ValidadorCadastroAtendimentos" CssClass="hideValidator">*</asp:RequiredFieldValidator>
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" TargetControlID="txtDtaLimite" runat="server" Format="dd/MM/yyyy" PopupButtonID="btnCalendarDataLimite" />
<ajaxToolkit:ValidatorCalloutExtender ID="RFVDataLimite_VCE" runat="server" Enabled="True" TargetControlID="RFVDataLimite"></ajaxToolkit:ValidatorCalloutExtender>
<ajaxToolkit:MaskedEditExtender ID="MEEDtaLimite" runat="server" TargetControlID="txtDtaLimite" Mask="99/99/9999" AutoComplete="true" ClearTextOnInvalid="true" MaskType="Date" AcceptAMPM="false" AcceptNegative="None" InputDirection="LeftToRight" UserDateFormat="DayMonthYear"></ajaxToolkit:MaskedEditExtender>
error:
Type.registerNamespace("Sys.Extended.UI");Sys.Extended.UI.MaskedEditBehavior=function(n){Sys.Extended.UI.MaskedEditBehavior.initializeBase(this,[n]);this._Mask="";this._MaskType=Sys.Extended.UI.MaskedEditType.None;this._Filtered="";this._PromptChar="_";this._InputDirection=Sys.Extended.UI.MaskedEditInputDirections.LeftToRight;this._MessageValidatorTip=!0;this._ShowMessageErrorFloat=!1;this._CssMessageErrorFloat="";this._AutoComplete=!0;this._AutoCompleteValue="";this._ClearTextOnInvalid=!1;this._ClearMaskOnLostfocus=!0;this._AcceptAmPm=Sys.Extended.UI.MaskedEditShowSymbol.None;this._AcceptNegative=Sys.Extended.UI.MaskedEditShowSymbol.None;this._DisplayMoney=Sys.Extended.UI.MaskedEditShowSymbol.None;this._OnFocusCssClass="MaskedEditFocus";this._OnInvalidCssClass="MaskedEditError";this._OnFocusCssNegative="MaskedEditFocusNegative";this._OnBlurCssNegative="MaskedEditBlurNegative";this._CultureName=Sys.CultureInfo.CurrentCulture.name;this._UserDateFormat=Sys.Extended.UI.MaskedEditUserDateFormat.None;this._UserTimeFormat=Sys.Extended.UI.MaskedEditUserTimeFormat.None;this._CultureDatePlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.DateSeparator;this._CultureTimePlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.TimeSeparator;this._CultureDecimalPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.NumberDecimalSeparator;this._CultureThousandsPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.NumberGroupSeparator;this._CultureDateFormat="MDY";var t=Sys.CultureInfo.CurrentCulture.dateTimeFormat.ShortDatePattern.split(this._CultureDatePlaceholder);t.length>=3&&(this._CultureDateFormat=t[0].substr(0,1).toUpperCase()+t[1].substr(0,1).toUpperCase()+t[2].substr(0,1).toUpperCase());this._CultureCurrencySymbolPlaceholder=Sys.CultureInfo.CurrentCulture.numberFormat.CurrencySymbol;this._CultureAMPMPlaceholder=Sys.CultureInfo.CurrentCulture.dateTimeFormat.PMDesignator+";"+Sys.CultureInfo.CurrentCulture.dateTimeFormat.PMDesignator;this._AMPMPlaceholderSeparator=";";this._Century=1900;this._AllowCopyPaste=!0;this._ClipboardText=Sys.Extended.UI.Resources&&Sys.Extended.UI.Resources.Shared_BrowserSecurityPreventsPaste||"Your browser security settings don't permit the automatic execution of paste operations. Please use the keyboard shortcut Ctrl+V instead.";this._CharsEditMask="9L$CAN?";this._CharsSpecialMask="/:.,";this._MaskConv="";this._EmptyMask="";this._maskvalid="";this._DirectSelText="";this._initialvalue="";this._LogicSymbol="";this._LogicTextMask="";this._LogicMask="";this._LogicMaskConv="";this._LogicPrompt=String.fromCharCode(1);this._LogicEscape=String.fromCharCode(2);this._LogicFirstPos=-1;this._LogicLastPos=-1;this._LogicLastInt=-1;this._LogicDateTimeSepPos=-1;this._QtdValidInput=0;this._InLostfocus=!1;this._ExternalMessageError="";this._CurrentMessageError="";this._FiringOnChange=!1;this._ErroOnEnter=!1;this._charLetters="ABCDEFGHIJKLMNOPQRSTUVWXYZ";this._charNumbers="0123456789";this._charEscape="\\";this._DelimitStartDup="{";this._DelimitEndDup="}";this._focusHandler=null;this._keypressdown=null;this._keypressHandler=null;this._blurHandler=null;this._mouseOutHandler=null;this._mouseOutHandler=null;this._mouseMoveHandler=null;this._mouseEnterHandler=null;this._changeHandler=null;this._timer=null;this._timerHandler=null;this._SaveSymb="";this._SaveText="";this._SavePosi=-1;this._SaveMask="";this._SaveKeyDown=0};Sys.Extended.UI.MaskedEditBehavior.prototype={initialize:function(){var n=this.get_element(),t,i,r,u;this._InLostfocus=!0;Sys.Extended.UI.MaskedEditBehavior.callBaseMethod(this,"initialize");this._createMask();t=!1;i=this.get_ClientState();i!=null&&i!=""&&(t=i=="Focused",this.set_ClientState(null));try{n===document.activeElement&&(t=!0)}catch(f){}this._ShowMessageErrorFloat&&(this._mouseOutHandler=Function.createDelegate(this,this._onMouseOut),$addHandler(n,"mouseout",this._mouseOutHandler),this._mouseMoveHandler=Function.createDelegate(this,this._onMouseMove),$addHandler(n,"mousemove",this._mouseMoveHandler),this._mouseEnterHandler=Function.createDelegate(this,this._onMouseover),$addHandler(n,"mouseover",this._mouseEnterHandler));n.readOnly||(this._keypressdown=Function.createDelegate(this,this._onKeyPressdown),$addHandler(n,"keydown",this._keypressdown),this._keypressHandler=Function.createDelegate(this,this._onKeyPress),$addHandler(n,"keypress",this._keypressHandler));this._focusHandler=Function.createDelegate(this,this._onFocus);$addHandler(n,"focus",this._focusHandler);this._blurHandler=Function.createDelegate(this,this._onBlur);$addHandler(n,"blur",this._blurHandler);this._changeHandler=Function.createDelegate(this,this._onChange);$addHandler(n,"change",this._changeHandler);Sys.Browser.agent==Sys.Browser.Opera&&(this._timerHandler=Function.createDelegate(this,this._OnTimerTicket),this._timer=new Sys.Timer,this._timer.set_enabled(!1),this._timer.set_interval(100),this._timer.add_tick(this._timerHandler),this._SaveText="",this._SavePosi=-1,this._timer.set_enabled(!0));r=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(n);this._InitValue(r.get_Value(),!0);t?this._onFocus():(this._ClearMaskOnLostfocus&&r.set_Value(this._getClearMask(r.get_Value())),u=this._CaptureServerValidators(),u||this._OnInvalidCssClass!=""&&this.AddCssClassMaskedEdit(this._OnInvalidCssClass))},dispose:function(){var n=this.get_element();this._mouseOutHandler&&($removeHandler(n,"mouseout",this._mouseOutHandler),this._mouseOutHandler=null);this._mouseMoveHandler&&($removeHandler(n,"mousemove",this._mouseMoveHandler),this._mouseMoveHandler=null);this._mouseEnterHandler&&($removeHandler(n,"mouseover",this._mouseEnterHandler),this._mouseEnterHandler=null);this._focusHandler&&($removeHandler(n,"focus",this._focusHandler),this._focusHandler=null);this._focusHandler&&($removeHandler(n,"focus",this._focusHandler),this._focusHandler=null);this._blurHandler&&($removeHandler(n,"blur",this._blurHandler),this._blurHandler=null);this._changeHandler&&($removeHandler(n,"change",this._changeHandler),this._changeHandler=null);this._keypressdown&&($removeHandler(n,"keydown",this._keypressdown),this._keypressdown=null);this._keypressHandler&&($removeHandler(n,"keypress",this._keypressHandler),this._keypressHandler=null);this._timerHandler&&(this._timer.set_enabled(!1),this._timerHandler=null,this._timer.dispose(),this._timer=null);Sys.Extended.UI.MaskedEditBehavior.callBaseMethod(this,"dispose")},_OnTimerTicket:function(){if(this._SaveSymb="",!this._InLostfocus){this._timer.set_enabled(!1);var n=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(this.get_element());this._SaveText!=""?(n.set_Value(this._SaveText),this.setSelectionRange(this._SavePosi,this._SavePosi),this._SaveText="",this._SavePosi=-1,this._SaveMask=n.get_Value()):(n.get_Value().length!=this._EmptyMask.length&&n.set_Value(this._SaveMask),this._timer.get_interval()!=100&&this._timer.set_interval(100));this._timer.set_enabled(!0)}},_onChange:function(){this._FiringOnChange||this._onFocus()},_onFocus:function(){var n=this.get_element(),i,t,r,u;n.readOnly||n.disabled||(this._keypressdown||(this._keypressdown=Function.createDelegate(this,this._onKeyPressdown),$addHandler(n,"keydown",this._keypressdown)),this._keypressHandler||(this._keypressHandler=Function.createDelegate(this,this._onKeyPress),$addHandler(n,"keypress",this._keypressHandler)),this._InLostfocus=!1,this._RemoveDivToolTip(),this._OnFocusCssClass!=""&&this.AddCssClassMaskedEdit(this._OnFocusCssClass),i=Sys.Extended.UI.TextBoxWrapper.get_Wrapper(n),this._initialvalue=i.get_Value(),this._InitValue(i.get_Value(),!1),t=this._getClearMask(),r=!1,this._MessageValidatorTip&&t==""&&(r=!0),(this._MaskType==Sys.Extended.UI.MaskedEditType.Time||this._MaskType==Sys.Extended.UI.MaskedEditType.DateTime)&&this.get_CultureAMPMPlaceholder()!=""&&t==""?this._AcceptAmPm&&this.InsertAMPM(this.get_CultureAMPMPlaceholder().substring(0,1)):this._MaskType==