<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : ArgumentNullException when calling Dispose</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : ArgumentNullException when calling Dispose</description>
  <pubDate>Wed, 10 Jun 2026 11:29:19 -700</pubDate>
  <lastBuildDate>Tue, 01 Sep 2009 19:48:16 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1445</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>ArgumentNullException when calling Dispose : Dispose will work correctly if...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1445&amp;PID=5309#5309</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1445<br /><strong>Posted:</strong> 01-Sep-2009 at 7:48pm<br /><br /><P>Dispose will work correctly if you construct the XtraGridBindingManager using the constructor which accepts an IContainer, e.g.,</P><DIV>&nbsp;&nbsp; myXgbm = new XtraGridBindingManager(this.components);</DIV><DIV>&nbsp;</DIV><DIV>This is actually the constructor used by the XtraGridBindingManager designer when it auto-generates code.&nbsp;&nbsp;Using this constructor, dispose will also automatically be called when the container is disposed.</DIV><DIV>&nbsp;</DIV><DIV>(The fact that Dispose does not work correctly when other&nbsp;constructors are used is a bug.)</DIV>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 19:48:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1445&amp;PID=5309#5309</guid>
  </item> 
  <item>
   <title>ArgumentNullException when calling Dispose : Using : DevForce 3.6.7.1 &amp; DevExpress...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1445&amp;PID=5256#5256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=152" rel="nofollow">f3rland</a><br /><strong>Subject:</strong> 1445<br /><strong>Posted:</strong> 26-Aug-2009 at 12:36pm<br /><br />Using : DevForce 3.6.7.1 & DevExpress 9.1.3<br /><br />I get an exception when trying to dispose a IdeaBlade.UI.WinForms.DevExpressControls.XtraGridBindingManager object : <br /><br />&nbsp;&nbsp;&nbsp;à System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)<br />&nbsp;&nbsp;&nbsp;à System.Collections.Generic.Dictionary`2.FindEntry(TKey key)<br />&nbsp;&nbsp;&nbsp;à System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)<br />&nbsp;&nbsp;&nbsp;à IdeaBlade.UI.WinForms.DevExpressControls.XtraGridColumnBinder.UnRegisterEvents(RepositoryItem pRepositoryItem)<br />&nbsp;&nbsp;&nbsp;à IdeaBlade.UI.WinForms.DevExpressControls.XtraGridBindingManager.Dispose(Boolean disposing)<br />&nbsp;&nbsp;&nbsp;à System.ComponentModel.Component.Dispose()<br /><br />How to properly dispose XtraGridBindingManager object?<br />]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 12:36:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1445&amp;PID=5256#5256</guid>
  </item> 
 </channel>
</rss>