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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

masterdetail grids

Thread ID:

Created:

Updated:

Platform:

Replies:

9622 Jan 4,2004 03:02 PM UTC Jan 4,2004 04:08 PM UTC WinForms 2
loading
Tags: GridControl
Greg Shomette
Asked On January 4, 2004 03:02 PM UTC

I have a form with the master details example setup exactly as in the example in the grid .pdf. It works great except when i have a parent record with no related child record. If i try to add a new record in the child grid where there was not one before I get an error that states that the column does not exist in my parent table. I happens for each column I try to update in the new child record. To reproduce the behaviour you will need to make the sql statement parameratized returning a parent record with no child record. thanks

Greg Shomette
Replied On January 4, 2004 03:04 PM UTC

I does not happen with the ms datagrid. >I have a form with the master details example setup exactly as in the example in the grid .pdf. > >It works great except when i have a parent record with no related child record. If i try to add a new record in the child grid where there was not one before I get an error that states that the column does not exist in my parent table. I happens for each column I try to update in the new child record. To reproduce the behaviour you will need to make the sql statement parameratized returning a parent record with no child record. > >thanks

Administrator [Syncfusion]
Replied On January 4, 2004 04:08 PM UTC

You can handle empty child tables by manually setting the RowFilter on the child grid when the current row changes in the parent grid (instead of relying on the ADO.NET relation). Here is a sample.

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.

Warning Icon 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.Close Icon

;