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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MouseUp

Thread ID:

Created:

Updated:

Platform:

Replies:

2908 Feb 19,2003 04:11 PM UTC Feb 19,2003 08:11 PM UTC WinForms 1
loading
Tags: GridControl
Ivan Pelly
Asked On February 19, 2003 04:11 PM UTC

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 08:11 PM UTC

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

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.

Warning Icon 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.Close Icon

;