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

Me.gridDataBoundGrid1.ExpandAll() giving error?

Thread ID:

Created:

Updated:

Platform:

Replies:

5587 Jul 9,2003 10:22 AM UTC Aug 12,2003 05:25 AM UTC WinForms 2
loading
Tags: GridControl
Nouman Zaheer
Asked On July 9, 2003 10:22 AM UTC

Hi I am getting following error when i used the above statment "Relation is not parented to table to which this DataView points" I am using two tables,master & detail in a DataSet what i wants is to 1) set the grid properties when the form is loaded so not everytime i have to set properties 2) just refresh the grid pulling out records from database whenever a new record is added i have used the following code a) its not giving me any error at form load b) but when i again call this code when a new records is added and i am pulling again the records from database its giving me the above error any one can help me out Thanks Nouman

Administrator [Syncfusion]
Replied On July 9, 2003 10:37 PM UTC

To reset an hierarchical grid, you need to do 2 things. Me.GridDataBoundGrid1.DataSource = Nothing Me.GridDataBoundGrid1.Binder.ResetHierarchyLevels() To use ResetHierarchyLevels, you must have version 1.6.1 as it was not in 1.5.2. The current eval download is 1.6.1. Here is a sample.

jfchim
Replied On August 12, 2003 05:25 AM UTC

Nouman; I am facing the same problem. Have you manage to solve it. If yes, can you email me the solution? Thanks > Hi > I am getting following error when i used the above statment > "Relation is not parented to table to which this DataView points" > I am using two tables,master & detail in a DataSet what i wants is to > 1) set the grid properties when the form is loaded so not everytime i have to set properties > 2) just refresh the grid pulling out records from database whenever a new record is added > i have used the following code > a) its not giving me any error at form load > b) but when i again call this code when a new records is added and i am pulling again the records from database its giving me the above error > any one can help me out > Thanks > Nouman >

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

;