We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Hierarchical Grid: Binder.AddRelation returns null

Thread ID:

Created:

Updated:

Platform:

Replies:

26850 Apr 1,2005 09:32 AM Jan 2,2006 12:03 PM Windows Forms 3
loading
Tags: EditControl
Matthias Klein
Asked On April 1, 2005 09:32 AM

Hi, why does the call to Binder.AddRelation fail and return null? The call to _showing.getChildren() returns a Dataset with 2 tables ("parent" & "child") and 1 relation ("parentchild"). Greets Matthias snippet_4394.zip

Matthias Klein
Replied On April 4, 2005 05:46 AM

Looks like the problems are docking related. When have the grid (or the panel it''s on) to EnableDocking=false it works. I opened a Direct-Trac for that. I let u know if I can get it to work. Greets Matthias

John Boero
Replied On January 2, 2006 11:16 AM

I know this post is old, but I just noticed the same problem in 4.1. My problem is I don''t plan on giving up the docking ability to fix a relation problem. Is there some other way to access relations in docking controls? Someone please advise. John >Looks like the problems are docking related. When have the grid (or the panel it''s on) to EnableDocking=false it works. > >I opened a Direct-Trac for that. I let u know if I can get it to work. > >Greets >Matthias

John Boero
Replied On January 2, 2006 12:03 PM

I see it works to set up relations first and enable docking afterwards. The grid must be added to the form''s controls before its relations are added. This must be a .NET issue. >I know this post is old, but I just noticed the same problem in 4.1. My problem is I don''t plan on giving up the docking ability to fix a relation problem. Is there some other way to access relations in docking controls? > >Someone please advise. >John

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;