<?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 : CABANA with EF</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : CABANA with EF</description>
  <pubDate>Wed, 10 Jun 2026 04:15:50 -700</pubDate>
  <lastBuildDate>Tue, 20 May 2008 12:23:42 -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=810</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>CABANA with EF : I have done some more debugging...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=810&amp;PID=2968#2968</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=274" rel="nofollow">-ZI-</a><br /><strong>Subject:</strong> 810<br /><strong>Posted:</strong> 20-May-2008 at 12:23pm<br /><br />I have done some more debugging and found out the exact line of code where it breaks (bold red line below). This code snippet is from ControlViewPresenter.cs. I can not step in more than this since mBindingManager is of type IdeaBlase.UI.WinForms.ControlBindingManager. source is not null in this case. <FONT size=1></FONT><DIV></DIV><DIV><FONT color=#0000ff size=2><P>private</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> SetBindingManagerBindingSource() {</P><P></FONT><FONT color=#2b91af size=2>BindingSource</FONT><FONT size=2> source = ViewContext.BindingSource;</P><P></FONT><FONT color=#2b91af size=2>Guard</FONT><FONT size=2>.ArgumentNotNull(source, </FONT><FONT color=#a31515 size=2>"ViewContext.BindingSource"</FONT><FONT size=2>);</P><P><FONT color=#cc0000><strong>mBindingManager.BindingSource = source;</strong></FONT></P><P>IsBindingSourceReady = </FONT><FONT color=#0000ff size=2>true</FONT><FONT size=2>; </FONT><FONT color=#008000 size=2>// presumptively so if set.</P></FONT><FONT size=2><P>PlayDelayedCommandsQueue(); }</P><DIV>&nbsp;</DIV><DIV>The exception I get is <FONT size=1><P>"Object reference not set to an instance of an object."</P><DIV></DIV>I have done debugging with various combinations of views and got similar results. </FONT></FONT><FONT size=2></DIV></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 20 May 2008 12:23:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=810&amp;PID=2968#2968</guid>
  </item> 
  <item>
   <title>CABANA with EF : I am in process of porting CABANA...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=810&amp;PID=2967#2967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=274" rel="nofollow">-ZI-</a><br /><strong>Subject:</strong> 810<br /><strong>Posted:</strong> 19-May-2008 at 1:56pm<br /><br />I am in process of porting CABANA to work with DevForce EF. I am running into some issues and looking for some help. In my example code, I am using a SearchSummaryDetail page. All the three views (Search, Summary, and Detail with tabs) seem to work fine if only one of these views are loaded by controller. But as soon as I add more than one views (any combination), I get an exception <FONT size=1>"Datasource or BoundType must be set before adding bindings with this signature."<DIV></DIV><DIV>&nbsp;</DIV><DIV><FONT size=2>So for example, if I display just the search and gridview section, it works fine. When I add Summary View, it starts breaking. If I keep the summary view and comment out the gridbuilder code where it adds columns, it still works fine. Search still pulls results (with an empty grid of course) but I can navigate through the result set and see the records changing in summary view. Similarly if keep the summary view and add a detail view (while keeping the gridbuilder add columns section commented), it again starts breaking with same error message. Debugging and stepping through the code, it appears that whichever view gets first turn succeeds adding itself but subsequent views throw exceptions of datasource not being there.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have a similar prototype working with cabana and IdeaBlade's classic persistence. The page controller code/logic and overrides&nbsp;etc are&nbsp; pretty much same in both prototypes. Any ideas what could be wrong. Is it the new EntityManager that manages thing differently than the classic one. Any tips that can help.&nbsp;</FONT></DIV></FONT>]]>
   </description>
   <pubDate>Mon, 19 May 2008 13:56:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=810&amp;PID=2967#2967</guid>
  </item> 
 </channel>
</rss>