issue with Event launched in DataGridView.Cellvalidating and TabControl.TabPages

arti

New member
Joined
May 3, 2013
Messages
3
Programming Experience
1-3
Hi every One. In my DataGridView.Cellvalidating i raise a event (via a function in a Class) In a another Form i have a TabControl with 3 TabPage in this form i catch the Event and i delete the active tabPage. TabControl.TabPage.RemoveBYKey(MyName) --> When this line is proceed.. i re enter in my DataGridView.CellValidating. I used TabControl.TabPages.Clear it is the same issue. I dont have the issue if i delete only the tabpage not currently active. Why ?
 
Back
Top