Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
Can't bind BindingSource from a complex object to an UltraWinGrid
posted

I have a Business object "Parent" that has a collection of another Business object called "Child". It also has some properties and methods as usual. Now this is how i try to bind this to an UltraWinGrid:

1. Populate "Parent" instance called "p" by assigning some values to its properties.

2. Declare a Bindingsource "bndSource" at runtime.

3. Set binding source DataSource as bndSource.DataSource = p;

4. Set binding source of ultrawingrid to be mygrid.Datasource = bndSource.

5. Run.

As control passed through step 4, the entire form goes white in color and does nothing until I abruptly end the process. 

Note: The "Parent" class has some properties (some readonly, some are of datatype guid, some are inherited), some methods and a collection of objects of type "child".

Note: This class is generated using Nettiers templates.

 

Parents Reply Children
No Data