What is the best way to handle this situation?
I have a master grid and its child data is accessed through the RowDetailsTemplate which is pointing to a customized UserControl. Inside the UserControl is a tab control with a grid inside each tab. When a child grid is in edit mode and the form is closed, the grid's rowEditEnded event doesn't fire. The rowEditEnded event is where I tell my program to post/save the row's data.
So, how am I suppose to save the data of that row? Should I expose a function of the user control and have the WPF call it when closing?
Thank You.
I have a master grid and its child data is accessed through the RowDetailsTemplate which is pointing to a customized UserControl. Inside the UserControl is a tab control with a grid inside each tab. When a child grid is in edit mode and the form is closed, the grid's rowEditEnded event doesn't fire. The rowEditEnded event is where I tell my program to post/save the row's data.
So, how am I suppose to save the data of that row? Should I expose a function of the user control and have the WPF call it when closing?
Thank You.