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
1180
Dissapearing relations from DataTable
posted

We work with Visual Studio 2010. Our DataTables in DataSets have some relations and we heavily use System.Object columns to hold references to objects which are then represented by grid rows.

Each developer from time to time encounter a problem when working with UltraGrid in Visual Studio designer - columns of type System.Object and DataRelations are removed from .Designer.cs files.

Of course that leads to heavy surprises when debugging and the only way to get back to grids working state is to revert changes from SVN.

Problem is difficult to reproduce, so can't report it to Infragistics - it just happens from time to time. It for 100% concerns grid data source (DataSet+DataTables) and happens when editing grid in VS designer.

Anyone encountered such a problem? Any idea how to find what is causing such a problems?

 

  • 18495
    posted

    Hello,

    Going on only the information you provided above, I'm not sure what could be causing this issue.  It would help if you could let me know more details about what exactly your developers are doing to the grid when you notice this happening.  It's highly unlikely that it's an UltraGrid issue since the UltraGrid does not modify the DataSets and DataTables at design-time.