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

Schedule control contextmenu event.

Thread ID:

Created:

Updated:

Platform:

Replies:

119888 Aug 11,2015 05:33 AM UTC Aug 17,2015 01:06 PM UTC WinForms 3
loading
Tags: ScheduleControl
Paurnima
Asked On August 11, 2015 05:33 AM UTC

Hi,
I am using Schedule Control at run time in my application.
When I  right click on context Menu strip  of schedule control I want event of clicked item of context menu.
Please suggest me which event has to be used for that.
I am using sync-fusion version-10.403.0.53
And .Net Framework-3.5.


Thanks and Regards,
Paurnima.


Venkatesh Sundaram [Syncfusion]
Replied On August 12, 2015 01:38 PM UTC

Hi Paurnima,

Thank you for your interest in Syncfusion products.

There is no direct event to trigger the context menu item click action. As a workaround, we can get the context menu object and trigger the events manually like below,

foreach (MenuItem item in this.ScheduleControl1.GetScheduleHost().ContextMenu.MenuItems)

{

item.Click += item_Click;
}

void item_Click(object sender, EventArgs e)

{

MessageBox.show("Item clicked");
}

Please let me know if you have any concerns.

Regards,
Venkat.


Paurnima
Replied On August 14, 2015 07:59 AM UTC

Hi,
Thank you for reply.
I created Item_Click event .
But I am not able to differentiate which Item is clicked.
I  wrote code for Edit and delete item in Item_Click event.
How to differentiate that code.
Please give me the solution.



Thanks and Regards,
Paurnima.


Venkatesh Sundaram [Syncfusion]
Replied On August 17, 2015 01:06 PM UTC

Hi Paurnima,

Thank you for your update.

We have analyzed your reported scenario. As of now we don’t have support for this. We have already logged a feature report for this. We will implement this in any of our upcoming release.

Warm Regards,
Venkatesh

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

;