<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Mask for DateTime field in PropertyGrid</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Mask for DateTime field in PropertyGrid]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 19:36:37 +0000</pubDate>
  <lastBuildDate>Thu, 19 Feb 2009 23:17:49 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=13352</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Mask for DateTime field in PropertyGrid : Hi Aaron,  Thank you very much...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45659&amp;title=mask-for-datetime-field-in-propertygrid#45659</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4944">p4kumar</a><br /><strong>Subject:</strong> 13352<br /><strong>Posted:</strong> 19 February 2009 at 11:17pm<br /><br />Hi Aaron,<br /><br />Thank you very much for your reply. But, Im working on C#, .NET and it is little bit difficult to understand as I have used Visual Basics long back. Can you please explain this in C# and .NET?<br /><br />It would be greatful if you share any source code with me. Thank you.]]>
   </description>
   <pubDate>Thu, 19 Feb 2009 23:17:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45659&amp;title=mask-for-datetime-field-in-propertygrid#45659</guid>
  </item> 
  <item>
   <title><![CDATA[Mask for DateTime field in PropertyGrid : Hi,   Here&amp;#039;s is code from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45465&amp;title=mask-for-datetime-field-in-propertygrid#45465</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13352<br /><strong>Posted:</strong> 15 February 2009 at 6:06am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Here's is code from samples</DIV><DIV>&nbsp;</DIV><DIV>Dim DateItem As PropertyGridItemDate<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Adds a date item with an initial date of 14/02/2009<BR>&nbsp;&nbsp;&nbsp; Set DateItem = Category.AddChildItem(PropertyItemDate, "DateItem", "14/02/2009")<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Sets date format to MM/DD/YYYY<BR>&nbsp;&nbsp;&nbsp; DateItem.Format = "%d/%m/%Y"<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Returns the currently set date formated with the mask MM/DD/YYYY<BR>&nbsp;&nbsp;&nbsp; Debug.Print "Currently set date (DD/MM/YYYY): " &amp; DateItem.Value<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Returns the currently set date without a format mask<BR>&nbsp;&nbsp;&nbsp; Debug.Print "Unformated date (DDMMYYYY): " &amp; DateItem.MaskedText</DIV><DIV>&nbsp;&nbsp;&nbsp; 'Changes Day to the 13th<BR>&nbsp;&nbsp;&nbsp; DateItem.Day = 13<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; 'Changes Month to February<BR>&nbsp;&nbsp;&nbsp; DateItem.Month = 2<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 'Changes the Year to 2009<BR>&nbsp;&nbsp;&nbsp; DateItem.Year = 2009</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 15 Feb 2009 06:06:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45465&amp;title=mask-for-datetime-field-in-propertygrid#45465</guid>
  </item> 
  <item>
   <title><![CDATA[Mask for DateTime field in PropertyGrid : All,  How can I create a mask...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45181&amp;title=mask-for-datetime-field-in-propertygrid#45181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4944">p4kumar</a><br /><strong>Subject:</strong> 13352<br /><strong>Posted:</strong> 06 February 2009 at 11:11am<br /><br />All,<br /><br />How can I create a mask to the DateTime field in the propertygrid such a way that, user can enter only in that format. For example, by default "dd/mm/yyyy" should be displayed in the DateTime field. When user key in numbers, the numbers should replace the respective palces in the field. Ofcourse, user can give input from DateTime picker also.<br /><br />Please, suggest me by giving code snippets or sample source code. Thanks in advance.]]>
   </description>
   <pubDate>Fri, 06 Feb 2009 11:11:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13352&amp;PID=45181&amp;title=mask-for-datetime-field-in-propertygrid#45181</guid>
  </item> 
 </channel>
</rss>