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.

Hide Butttons when click on an appointment

Thread ID:

Created:

Updated:

Platform:

Replies:

116455 May 27,2014 08:38 AM May 28,2014 06:08 AM WinRT 3
loading
Tags: SfSchedule
Abdelhamid
Asked On May 27, 2014 08:38 AM

Hi, 

How can i hide the buttons when i click on an oppointment, i already disable the editable option !

Thank you 

Joy Oyiess Rex  K [Syncfusion]
Replied On May 28, 2014 04:48 AM

Hi Abdelhamid,

 

Thanks for your interest in Syncfusion products.

 

Based on the provided information, we suspect that your requirement is to hide the Context Menu when click on the ScheduleAppointment, for that we have provide a code snippet below,

 

Code Snippet

[C#]

 

    /////////

   this.Schedule.ContextMenuOpening += Schedule_ContextMenuOpening;   

    ////////

      void Schedule_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e)

       {

            if (e.Appointment != null)

            {

                e.Cancel = true;

            }

        }

 

 

If the provided solution doesn't meet your requirement, please revert  us back with more information, so that we could analyse on it and provide you better solution.

 

Regards,

Joy Oyiess Rex K


Abdelhamid
Replied On May 28, 2014 05:07 AM

Thank you for your answer. The code is just working awesome :)

I suggest that you animate the doc with more pictures so we can interacte with easily( i just got a hard time to figure out what is the name of the option :) )

Abdelhamid

Joy Oyiess Rex  K [Syncfusion]
Replied On May 28, 2014 06:08 AM

Hi Abdelhamid,

 

Thanks for your update.

 

We have already planned to improve our UG documentation, we will consider your suggestions while implement it.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


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.

;