DataGrid Question NEWBIE

  • Thread starter Thread starter esebastian
  • Start date Start date
E

esebastian

Hi all,
Quick question, probably easy for most of you but i can't see to get
it. I have a form with a datagrid, the datagrid is bound to a dataset
with 2 tables in it and the tables are related through a datarelation.
I am wondering the following.

how do i know when the views have changed? i have a drop down box
when if the child view is showing i want to disable and if the parent
view is showing i want it enabled.. what event do I use on the
datagrid to capture the changing of the tables.. i thought it might be
"DataSourceChanged" but i can't find anything useful when this event
is called.

thanks all,
Erin
 
I found the event.. it's the "navigate" event on the datagrid.. it
tells you when you navigate to the child view and back to parent view.
 
Back
Top