Current filter:
                                You should refresh the page.
                                0
                                  • If a dataset contains a table with a self-referencing relation, attempting to use "Retrieve Details" in the XtraGrid grid designer with the grid bound to that table will cause Visual Studio 2005 to abort after 5-10 seconds.

                                    I see knowledge base article A1600 has information about using self-referencing tables, and there are cases where this kind of relation makes sense. It definitely shouldn't cause visual studio to crash.

                                    Steps to Reproduce:

                                    The attached sample has a form with a XtraGrid. It is bound to a dataset, and a specific data table within that dataset.

                                    Open the form in the designer, then select the "Retrieve Details" button. VS05 will abort after a few seconds.

                                    If you remove the self-referencing relation in the CrashOccurrences table, the crash no longer happens. The relation is DuplicateOf to CrashOccurrence_ID in the same table.

                                    Actual Results:

                                    VS05 "needs to close"

                                    Expected Results:

                                    DevEx should be able to process tables that have self-referencing relations. It should be possible to have a detail table that is the same as the master table (as indicated by A1600). If this is not possible, it should at least be detected and handled by the XtraGrid.

                                MasterDetailProblemDemo.zip
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.