Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
315
Can we bloc appointement subject edition
posted

hi,

        i use a TimelineView and i would like to know if its possible to block AppointmentEditModeEntered.

When i click on a appointement, sometime i can change the subject. I dont want that.

 

is it possible ?

 

Thnx

  • 145
    Offline posted

    Hello,

    block editing subject in UltraTimeLineView (use ...Entering... instead of ...Entered...):

      private void ultraTimelineView1_AppointmentEnteringEditMode(object sender, AppointmentEnteringEditModeEventArgs e)
      {
        e.Cancel = true;
      }
    Block displaying Appointment dialog: 
    this.ultraTimelineView1.CalendarInfo.BeforeDisplayAppointmentDialog += new DisplayAppointmentDialogEventHandler(CalendarInfo_BeforeDisplayAppointmentDialog);
    
    private void CalendarInfo_BeforeDisplayAppointmentDialog(object sender, DisplayAppointmentDialogEventArgs e)
    {
      e.Cancel = true;
    }
    
    
    Migeold.