DataGrid Thing

dusans

Newcomer
Joined
Sep 16, 2002
Messages
20
I'm having a trouble with DataGrid in VB.Net. I have a Form with two Tabs. When I change value of TextBox on one tab which is binding row in DataTable and switch to other tab which contains DataGrid(readonly) with column binding to same property as TextBox and switch back IsChanged property of row view changes into False (Should be True). It seems that DataGrid calls EndCurrentEdit method. I tried many ways to avoid this but it happens even when the Grid is disabled and hidden. Another thing is also interesting, when I set DataSource of Grid to Nothing, no matter what it accepts changes made in current row.

Is there any solution to this problems?
 
Back
Top