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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

68872 Oct 4,2007 07:48 AM UTC Oct 4,2007 12:31 PM UTC WinForms 1
loading
Tags: GridControl
Faisal Iqbal
Asked On October 4, 2007 07:48 AM UTC

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 12:31 PM UTC

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.

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

;