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.

GridControl Cut/Paste ContextMenu.

Thread ID:

Created:

Updated:

Platform:

Replies:

20646 Oct 21,2004 07:27 PM Oct 22,2004 02:36 AM Windows Forms 1
loading
Tags: GridControl
Maqsood Ahmed
Asked On October 21, 2004 07:27 PM

Hello! I have made a User Control using Syncfusion GridControl and set some columns'' CellType to my own CellType. Basically i have implemented number formats for using CultureInfo in the CellType. There is no contextmenu associated with the control, but its showing a Cut/Paste context menu at cells of my Custom CellType. ContextMenu doesn''t show Cut/Copy/Paste/Undo, but is shows Ctrl-Z, Ctrl-X and so on. My question: Is there anyway to disable this context menu or change text of this context menu. Is this ContextMenu in GridControl properties at all?

Administrator [Syncfusion]
Replied On October 22, 2004 02:36 AM

Does your custom celltype have a control in it, say a Windows Forms TextBox? If so, this is why you are seeing the default TextBox ContextMenu. If this is the case, then you should be able to set myTextBox.ContextMenu = myContextMenu after you have created the myTextBox to allow it to show your own context menu. If this does not help, if you can post a little sample grid using your custom cell type, we can try to suggest something else.

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.

;