<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[How Do I:] Use the ASP.NET AJAX MaskedEdit Controls?</title><link>http://www.asp.net</link><pubDate>Wed, 30 Sep 2009 18:37:01 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Use the ASP.NET AJAX MaskedEdit Controls?</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/33578" rel="self" type="application/rss+xml" /><item><title>Comment Posted by sandpointguy</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Sat, 05 Apr 2008 16:37:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001295</guid><description><![CDATA[ <p>Thanks Joe, this is real helpful. &#160;The formatting looks cool when I enter data for the first time, but if Im working with data that already exists for the form (such as Ive populated from a database) the formatting doesnt take effect until the control gets focus. &#160;Id like to also use it for initial display formatting. &#160;Is that possible?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sandpointguy.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Mon, 14 Apr 2008 20:42:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001296</guid><description><![CDATA[ <p>Interesting, can you email me an example ?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cwang</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 28 May 2008 15:41:10 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001297</guid><description><![CDATA[ <p>Hi Joe, is it possible for this control to validate date format such as &quot;May 27, 2008&quot;?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/cwang.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jay2_deguzman</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Thu, 31 Jul 2008 02:44:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001298</guid><description><![CDATA[ <p>hi! were can i download the raw file of stylesheet.css so dat i can have the idea on how to make one for the maskedEditfocus etc..</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/jay2_deguzman.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by cv_vikram</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 06 Aug 2008 14:49:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001299</guid><description><![CDATA[ <p>Very good tutorial.....thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/cv_vikram.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ACE1</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 01 Oct 2008 11:22:40 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001300</guid><description><![CDATA[ <p>In your example, when you entered the money, it started in the cents field. &#160;When I do it, it starts at the ones spot and I need to use the decimal to get to the cents portion. &#160;I want to be able to key in the value without using the decimal. &#160;For example, if I type in 10050, it would show up as 100.50. &#160;Is this possible?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/ACE1.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Vivek Vashisht</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Thu, 06 Nov 2008 07:49:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001301</guid><description><![CDATA[ <p>How to validate time in hh:mm format?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Vivek%20Vashisht.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by salsam</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Fri, 14 Nov 2008 08:42:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001302</guid><description><![CDATA[ <p>Hi Joe,</p> <p>I am trying to use this control but having problem with MaskEditvalidator. </p> <p>My web application is using common master page which has a ValidationSummary Control. and my all pages use that summary contol to show error messages. </p> <p>Now i m using MaskedEditValidator in one of my page and using its InvalidValueMessage to check if valid value is passed in the textbox or not. </p> <p>But on the postback, even with the valid value it is showing me InvalidValue message. </p> <p>Is there any way I can use Server-Side Validaton istead??</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/salsam.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Stevishere</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 19 Nov 2008 15:16:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001303</guid><description><![CDATA[ <p>Thanks for the Video Joe. &#160;I have the same situation as sandpointguy. &#160;I realize we can set &quot;ClearMaskOnLostFocus = False&quot; but doing that blows the ability to save to the database. &#160;</p> <p>I had used the Masked Edit Extender on a databound textbox where I formatted the data as {0:C}. Any ideas how I can do this and still allow (and retain) a negative currency amount?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Stevishere.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Bob K</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 02 Dec 2008 14:15:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001304</guid><description><![CDATA[ <p>Joe,</p> <p>Very helpful. Couple questions:</p> <p>On the number format can you specify the number of decimal places?</p> <p>Also can the number of Decimal places be changed dynamically?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Bob%20K.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by indyHarcourt</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 30 Dec 2008 11:38:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001305</guid><description><![CDATA[ <p>Thanks for the informative video. When I create a field for money, it works find, but when the user tabs out of the field, the dollar sign goes away. Is there a way to keep the dollar sign with the number when the user tabs away from the field? </p> <p>Also, when I pre-populate the field with an existing amount, I cannot seem to get the dollar sign to appear at all when displaying the screen, when the focus is not on that field. I&#39;m populating the field with this:</p> <p>txtLoanAmount.Text = String.Format ( &quot;{0:c}&quot;, LoanAmount ); </p> <p>But it isn&#39;t displaying the dollar sign. As a test, I created another text box below it that does not have the extender, set it&#39;s value the same way, and the dollar sign does appear. Any thoughts?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/indyHarcourt.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by annisites</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Fri, 02 Jan 2009 21:20:54 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001306</guid><description><![CDATA[ <p>hi Joe, </p> <p> &#160; &#160; &#160;I tried using this contol on a data repeater and it works great until I retrieve information back from database to display. for example mask is set to &quot;9999.99&quot; and the database is returning just 12, maskedit forces it to show as 1200.00 although autocomplete is set to fase. I tried everywhich way but in vain. any ideas on this? </p> <p>Thanks!!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/annisites.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by annisites</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Fri, 02 Jan 2009 22:44:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001307</guid><description><![CDATA[ <p>with the combination of string formatting it may be possible to achieve the above mentioned problem.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/annisites.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by dinparacha</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 13 Jan 2009 14:30:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001308</guid><description><![CDATA[ <p>Hi, Just want to let you know what I did, waiting for the fix:</p> <p>-Open AjaxControlToolkit.sln</p> <p>-Open MaskedEditBehavior.js</p> <p>- In function _onBlur AND in the function _Initialize (ligne 230) add the else of the following if:</p> <p>// clear mask and set CSS</p> <p>if (this._ClearMaskOnLostfocus)</p> <p>{</p> <p>wrapper.set_Value(this._getClearMask(wrapper.get_Value()));</p> <p>}</p> <p>else</p> <p>{</p> <p> &#160;if (wrapper.get_Value() == &quot;__-__-____&quot; || wrapper.get_Value() == &quot;(___) ___-____&quot; || wrapper.get_Value() == &quot;___-___-___&quot; &#160;//Phone</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;|| wrapper.get_Value() == &quot;___-__-____&quot;) &#160; //SSN</p> <p>wrapper.set_Value(&quot;&quot;);</p> <p>}</p> <p>-Generate the projet</p> <p>-Copy de DLL in debug/bin to your projects.</p> <p>Of course, I hard coded the masks I am using, I&#39;m sure there is another way by using string _EmptyMask or something like that.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/dinparacha.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by djibril_chimere_DIAW</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Fri, 23 Jan 2009 10:25:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001309</guid><description><![CDATA[ <p>Thanks ! J&#235;r&#235;j&#235;f!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/djibril_chimere_DIAW.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by kdj</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Thu, 05 Feb 2009 14:10:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001310</guid><description><![CDATA[ <p>IN SAFARI !The backspace and delete keys are disabled when a mask is applied to textbox!!! There are way to many glitchy things with this tool kit. This could make things very inconvenient for someone who enters incorrect info.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/kdj.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by joer98</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 18 Feb 2009 14:58:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001311</guid><description><![CDATA[ <p>Is there anyway of setting the EditMaskValidator control values via code-behind? &#160;I would like to set the MaxValue, but my value will come a SQL Query.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/joer98.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ggamble</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 24 Feb 2009 18:34:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001312</guid><description><![CDATA[ <p>Is there anyway to set a phone mask, such as (999) 999-9999 9999, such that if the user doesn&#39;t enter the extension it won&#39;t add 0000, but leave it empty? May there is an option character instead of &#39;9&#39; for numbers?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ggamble.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ggamble</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 24 Feb 2009 19:05:12 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001313</guid><description><![CDATA[ <p>Got it ... </p><p> Set &#39;AutoComplete&#39; value to a space, then set the &#39;PromptCharacter&#39; to a space. Now when I enter a phone number without an extension it shows without the extension place holders. If I do have an extension it still maintains the formatting. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ggamble.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by himait</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Mon, 06 Apr 2009 05:53:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001314</guid><description><![CDATA[ <p>Hi Joe</p><p></p><p>Very Good;</p><p></p><p>Thanks,</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/himait.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by smurtuza</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Mon, 04 May 2009 18:00:13 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001315</guid><description><![CDATA[ <p>Hi Joe,</p><p></p><p>Can one MaskEditor be assigned to multiple textboxes?</p><p></p><p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/smurtuza.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sasiatia</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 13 May 2009 15:53:03 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001316</guid><description><![CDATA[ <p>hi Joe, I&#39;m I&#39;ve used the maskedit for the following mask 9,999,999 but when I try to save the value of the text box back to datatype of Int it fails due to the thousand separtor, what is the workaround for this.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sasiatia.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ccatto</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Tue, 26 May 2009 20:11:24 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001317</guid><description><![CDATA[ <p>Thx Joe good example of the Masked Edit Control </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/ccatto.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by thewire</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Fri, 12 Jun 2009 13:09:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001318</guid><description><![CDATA[ <p>Is it possible to default the time mask to PM?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/thewire.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by orlando876</title><link>http://www.asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-maskededit-controls</link><pubDate>Wed, 30 Sep 2009 18:37:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000001323</guid><description><![CDATA[ <p>I have a challenge with the MaskedEditExtender it is at the bottom of my page which is in a data gridview is is a subpage of my master page. The problem is i am unable to see the section of the dateextender the intersect with my masterpage footer. Yes the ajaxmanager is on the master page</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/orlando876.jpg?forceidenticon=false&amp;dt=635046240600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>