Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

CellClick-Event does not fire after canceling the tabPage's Validating-Event

$
0
0

Hi there,

I have a code like the following:

private void tabPage_Validating(object sender, CancelEventArgs e)
		{
			e.Cancel = !CheckTabPage();			
		}

I can cancel the event and it stays at the tabpage, but there is a datagridview on the tabpage, which will not fire the cellClick-Event (of the datagridview) anymore after this Cancel. Before Canceling the Validating-Event of the tabPage it works fine.

I hope someone has an idea.

Greetings

WhippyBaer


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>