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. Image for the cookie policy date
close icon

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

Hi,

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

Regards.

WindowsApplication1.zip

1 Reply

AD Administrator Syncfusion Team October 4, 2007 12:31 PM UTC

Try this code.

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

Loader.
Live Chat Icon For mobile
Up arrow icon