I have two web grids. When a row from first one is selected the second one is populated with the child data for the selected key from first one.
First grid is read only. Second grid allows for updating/adding/deleting rows.
I would like to prevent selecting a new row from first grid if there are changes in the second grid which are not saved. Both grids are bound to a datatables. I am NOT using SqlDataSource.
Can someone provide example how I can handle this?
Thanks.