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.


Thread ID:





2908 Feb 19,2003 11:11 AM Feb 19,2003 03:11 PM Windows Forms 1
Tags: GridControl
Ivan Pelly
Asked On February 19, 2003 11:11 AM

I noticed that when a cell in the griddataboundgrid is in edit mode (i.e. the black outline around the cell and the insertion point somewhere in the text in the cell) the mouseup event no longer fires. Is there 1) an alternate way to trap for a rightclick or 2) an alternate way to be able to selected text in the cell (I want to be able to select/copy - I don't care about editing) so that the mouseup still fires? Thanks!

Administrator [Syncfusion]
Replied On February 19, 2003 03:11 PM

You could make the cell type static if you don't need editing. Other than this if you need to handle mouse clicks for an active textbox, you could listen to mouse events of the textbox renderer. The CellRenderer has a Example: GridTextBoxCellRenderer tb = (GridTextBoxCellRenderer) grid.CellRenderers["TextBox"]; tb.TextBox.MouseUp += new MouseEventHandler(MyMouseUpHandler); Stefan


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.