ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Remove MaskEditValidator error message after filling correct value in TextBox in ASP.Net<p>&nbsp;This is the solution</p> <pre class="brush: html"> &lt;table style=&#34;align-content: center&#34;&gt; &lt;tr&gt; &lt;td&gt; &lt;table border=&#34;0&#34; style=&#34;align-content: center&#34;&gt; &lt;tr&gt; &lt;td align=&#34;right&#34; class=&#34;auto-style5&#34;&gt; &lt;asp:Label ID=&#34;lblStartDateFrom&#34; Text=&#34;Start Date From&#34; runat=&#34;server&#34; CssClass=&#34;label&#34;&gt;&lt;/asp:Label&gt; &lt;/td&gt; &lt;td class=&#34;auto-style1&#34;&gt; &lt;asp:TextBox ID=&#34;txtStartDateFrom&#34; runat=&#34;server&#34; onclick=&#34;this.focus();this.select()&#34; ValidationGroup=&#34;Group1&#34; AutoCompleteType=&#34;None&#34; MaxLength=&#34;10&#34; ValidateRequestMode=&#34;Inherit&#34; width=&#34;90px&#34; TabIndex=&#34;450&#34; cssclass=&#34;textbox&#34;&gt;&lt;/asp:TextBox&gt; &lt;ajax:CalendarExtender ID=&#34;calEndDate&#34; TargetControlID=&#34;txtStartDateFrom&#34; Format=&#34;MM/dd/yyyy&#34; runat=&#34;server&#34; &gt; &lt;/ajax:CalendarExtender&gt; &lt;asp:MaskedEditExtender ID=&#34;MaskedEditExtender1&#34; runat=&#34;server&#34; ClearMaskOnLostFocus=&#34;false&#34; PromptCharacter=&#34; &#34; TargetControlID=&#34;txtStartDateFrom&#34; Mask=&#34;99/99/9999&#34; Enabled=&#34;true&#34; MaskType=&#34;Date&#34; MessageValidatorTip=&#34;true&#34; ErrorTooltipEnabled=&#34;True&#34; AutoComplete=&#34;False&#34; UserDateFormat=&#34;MonthDayYear&#34;&gt; &lt;/asp:MaskedEditExtender&gt; &lt;asp:MaskedEditValidator ID=&#34;MaskedEditValidator1&#34; ControlExtender=&#34;MaskedEditExtender1&#34; runat=&#34;server&#34; EmptyValueMessage=&#34;Invalid date format.&#34; ControlToValidate=&#34;txtStartDateFrom&#34; IsValidEmpty=&#34;True&#34; ForeColor=&#34;Red&#34; Font-Size=&#34;Medium&#34; InvalidValueMessage=&#34;Invalid date format.&#34; Display=&#34;Dynamic&#34; ValidationGroup=&#34;Group1&#34;&gt; &lt;/asp:MaskedEditValidator&gt; &lt;/td&gt; &lt;td align=&#34;right&#34; class=&#34;auto-style5&#34;&gt; &lt;asp:Label ID=&#34;lblEndDateFrom&#34; Text=&#34;End Date From&#34; runat=&#34;server&#34; CssClass=&#34;label&#34;&gt;&lt;/asp:Label&gt; &lt;/td&gt; &lt;td class=&#34;auto-style1&#34;&gt; &lt;asp:TextBox ID=&#34;txtEndDateFrom&#34; runat=&#34;server&#34; onclick=&#34;this.focus();this.select()&#34; AutoCompleteType=&#34;None&#34; MaxLength=&#34;10&#34; ValidationGroup=&#34;Group1&#34; ValidateRequestMode=&#34;Inherit&#34; width=&#34;90px&#34; TabIndex=&#34;450&#34; cssclass=&#34;textbox&#34;&gt;&lt;/asp:TextBox&gt; &lt;ajax:CalendarExtender ID=&#34;CalendarExtender2&#34; TargetControlID=&#34;txtEndDateFrom&#34; Format=&#34;MM/dd/yyyy&#34; runat=&#34;server&#34; &gt; &lt;/ajax:CalendarExtender&gt; &lt;asp:MaskedEditExtender ID=&#34;MaskedEditExtender2&#34; ClearMaskOnLostFocus=&#34;false&#34; runat=&#34;server&#34; PromptCharacter=&#34; &#34; TargetControlID=&#34;txtEndDateFrom&#34; Mask=&#34;99/99/9999&#34; Enabled=&#34;true&#34; MaskType=&#34;Date&#34; MessageValidatorTip=&#34;true&#34; ErrorTooltipEnabled=&#34;True&#34; AutoComplete=&#34;False&#34; UserDateFormat=&#34;MonthDayYear&#34;&gt; &lt;/asp:MaskedEditExtender&gt; &lt;asp:MaskedEditValidator ID=&#34;MaskedEditValidator2&#34; ControlExtender=&#34;MaskedEditExtender2&#34; runat=&#34;server&#34; EmptyValueMessage=&#34;Invalid date format.&#34; ControlToValidate=&#34;txtEndDateFrom&#34; IsValidEmpty=&#34;True&#34; ForeColor=&#34;Red&#34; Font-Size=&#34;Medium&#34; InvalidValueMessage=&#34;Invalid date format.&#34; Display=&#34;Dynamic&#34; ValidationGroup=&#34;Group1&#34;&gt; &lt;/asp:MaskedEditValidator&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;telerik:RadButton skin=&#34;Windows7&#34; ID=&#34;RadPrintPreview&#34; runat=&#34;server&#34; Text=&#34;Display&#34; OnClick=&#34;RadPrintPreview_Click&#34; Width=&#34;100px&#34; ValidationGroup=&#34;Group1&#34; /&gt;</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/400050/Remove-MaskEditValidator-error-message-after-filling-correct-value-in-TextBox-in-ASPNet/https://www.aspforums.net:443/Threads/400050/Remove-MaskEditValidator-error-message-after-filling-correct-value-in-TextBox-in-ASPNet/Thu, 25 Oct 2018 22:48:55 GMT