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.

How to disable default context menu ( cut, copy, paste) for datetimepickeradv.

Thread ID:

Created:

Updated:

Platform:

Replies:

68872 Oct 4,2007 03:48 AM Oct 4,2007 08:31 AM Windows Forms 1
loading
Tags: GridControl
Faisal Iqbal
Asked On October 4, 2007 03:48 AM

Hi,

Please find the attached zipped sample project. I want to disable default context menu ( cut, copy, paste) for datetimepickeradv.

Regards.

WindowsApplication1.zip

Administrator [Syncfusion]
Replied On October 4, 2007 08:31 AM

Try this code.

private void Form1_Load(object sender, EventArgs e)
{
this.dateTimePickerAdv1.ContextMenu = new ContextMenu();
}

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.

;