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

Hide Butttons when click on an appointment

Hi, 

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

Thank you 

3 Replies

JO Joy Oyiess Rex  K Syncfusion Team May 28, 2014 08:48 AM UTC

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



AB Abdelhamid May 28, 2014 09:07 AM UTC

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


JO Joy Oyiess Rex  K Syncfusion Team May 28, 2014 10:08 AM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon