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
105
Parent - Child web grids
posted

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.