Dataview.OnListChanged

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I am using VB.Net 2003 and I am having a problem with a
an inherited dataview that is bound to a data table.

I am working with a 3rd party tool that is bound to the
inherited data view and I need to prevent it from
updating when I make certain changes to the underlying
data table.

I am trying to override the OnlistChanged Sub with the
following code:

Protected Overrides Sub OnListChanged(ByVal e As
System.ComponentModel.ListChangedEventArgs)

However, this code is never being reached when I change a
record in the datatable that is bound to the inherited
dataview.

I can override the IndexListChanged sub without any
problems.

Any suggestions.....
 
Miha -

I opened the development environment this morning and
every thing is working (I have not changed a line of
code).

There must have been something going on with the MDE
because I could override IndexListChanged but not
OnlistChanged using exactly the same syntax.

Thanks for your repsonse.

Mike
 
Miha -
I opened the development environment this morning and
every thing is working (I have not changed a line of
code).

There must have been something going on with the MDE
because I could override IndexListChanged but not
OnlistChanged using exactly the same syntax.

Thanks for your repsonse.

Great, don't touch anything then :)
 
Back
Top