Hi,
I have an Master-detail application where domainobjects are databinded with two ultrawingrids via a System.Windows.Forms.BindingSource.The Detailgrid columns are decided at runtime and added dynamicly by overriding the GetItemProperties method in the bindingsource.
The problem is when MasterItems contains DetailItems with the same columnnames. It seems like the grid or bindingsource remember the previous dynamicly added columns and try to merge them with the new ones.
I tried to both use bindingsource.ResetBindings(True) and bind to a new bindingsource without any result so the problem seems to be with the grid.I think i tried most reset methods I found in the grid with no result and it is not possible to remove my dynamicly added columns from the grid because it says they are databounded.
Any Ideas?
TIA/S
I just wanted to know if you were able to solve your issue based on our suggestions or you still need help?
Just let me know.
Thank you.