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.
Syncfusion Feedback

Right click pop up menu

Thread ID:

Created:

Updated:

Platform:

Replies:

13189 Apr 22,2004 11:15 AM UTC Apr 22,2004 01:47 PM UTC Windows Forms 2
loading
Tags: GridControl
Philip Bishop
Asked On April 22, 2004 11:15 AM UTC

Is there anyway you can make the grid like excel where when u right click on a cell it pops up the context copy paste menu? The way it works now is that it just selects the cell then u have to right click a second time to bring up the copy paste menu? Thanks Phil

Ben
Replied On April 22, 2004 01:27 PM UTC

I don''t know if this still applies in 2.0 unfortunately but in 1.6 I had to set a context menu for the grid and you have to create your own context menu but after that you will get the desired effect.

Administrator [Syncfusion]
Replied On April 22, 2004 01:47 PM UTC

The Copy/Paste menu you are seeing on the second right-click is the standard context menu that you see when you right-click an active TextBox control. (If you right-click twice in a CheckBox cell or a ComboBox cell, then you will not see this same menu). In fact, you probably are using teh OriginalTextBox celltype if you see a contextmenu, since one does not display for the TextBox celltype as that is a RichTextBox control. You can avoid the right-click from selecting the cell by setting Me.grid.Model.Options.SelectCellsMouseButtonsMask = MouseButtons.Left If you do this, then your user may realize that he has to right-click on an active cell to see the context menu for the cell control. If you want a context menu to work for the grid (and not some embedded cell control), you can use the technique described in this KB. http://www.syncfusion.com/Support/article.aspx?id=10054 If you want to aloways see a consistent context help menu whether you click over a active cell or not, then you can use the technique discussed in this forum thread. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=5109

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

;