<?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 : AllowNullDate not working with C#</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : AllowNullDate not working with C#]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:50:26 +0000</pubDate>
  <lastBuildDate>Fri, 18 Aug 2006 21:50:58 +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=4805</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[AllowNullDate not working with C# : It appears you have to set the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4805&amp;PID=15042&amp;title=allownulldate-not-working-with-c#15042</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 4805<br /><strong>Posted:</strong> 18 August 2006 at 9:50pm<br /><br />It appears you have to set the null value after you call the AllowNullDate method.<DIV></DIV><DIV>&nbsp;</DIV><DIV>On a side note, you also can't specify an empty string for the AllowNullDate string value to display when it is null.&nbsp; You must at least specify an empty space.</DIV><DIV>&nbsp;</DIV><DIV>Odd circumstances, but it's now working.</DIV>]]>
   </description>
   <pubDate>Fri, 18 Aug 2006 21:50:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4805&amp;PID=15042&amp;title=allownulldate-not-working-with-c#15042</guid>
  </item> 
  <item>
   <title><![CDATA[AllowNullDate not working with C# : I&amp;#039;ve tried various combinations...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4805&amp;PID=14930&amp;title=allownulldate-not-working-with-c#14930</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 4805<br /><strong>Posted:</strong> 15 August 2006 at 3:01pm<br /><br />I've tried various combinations of code to try to get the AllowNullDate feature to work in C#.&nbsp; No matter what I try, the date is always displayed as "30/12/1899".&nbsp; The following code sample was added to the C# Property Grid sample project.<DIV>&nbsp;</DIV><DIV>Below the line:</DIV><DIV>&nbsp;</DIV><DIV>Item = Category.AddChildItem(PropertyItemType.PropertyItemDate, "DateItem", "26/01/2004");</DIV><DIV>&nbsp;</DIV><DIV>I added the following lines:</DIV><DIV>&nbsp;</DIV><DIV><DIV>Item = Category.AddChildItem(PropertyItemType.PropertyItemDate, "NullDateItem", null);</DIV><DIV>((XtremePropertyGrid.PropertyGridItemDate)Item).AllowNullDate("DateIsNull");</DIV><DIV>&nbsp;</DIV><DIV>Does anyone know the trick to getting this to work in C#?</DIV><DIV>&nbsp;</DIV><DIV>Thank you in advance,</DIV><DIV>&nbsp;</DIV><DIV>Boyd</DIV></DIV>]]>
   </description>
   <pubDate>Tue, 15 Aug 2006 15:01:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4805&amp;PID=14930&amp;title=allownulldate-not-working-with-c#14930</guid>
  </item> 
 </channel>
</rss>