We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

why isn't the right click event caught?

Thread ID:

Created:

Updated:

Platform:

Replies:

6203 Aug 4,2003 03:46 PM Aug 4,2003 03:55 PM Windows Forms 1
loading
Tags: GridControl
jacky chen
Asked On August 4, 2003 03:46 PM

my code catches the cell_clicked event and displays context menu to the user private void grdViewData_CellClick(object sender, Syncfusion.Windows.Forms.Grid.GridCellClickEventArgs e) { //right click, display context menu if(e.MouseEventArgs.Button.Equals(MouseButtons.Right) && this.grdViewData.CurrentCell.RowIndex>0) { } } it goes fine when the cell is not activated and the first click on a cell is a right click but if the user first gives a left click, gets the cell activated then gives a right click, this event is not raised, which means the context menu is nopt displayed, why is that and how do i fix it? thanks in advance!

jacky chen
Replied On August 4, 2003 03:55 PM

sorry, never mind, just went thru some previous posts and got the right example for it.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;