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

SfSchedule Appointment Editor

Hi,

Good day.

Is it possible to customize the Appointment Editor ? eg. I want to remove Reminder field and Status Field . and add in some of other field, Edit Recurrence to remain ...

If yes can I have a sample in VB ?

Thank you .

Regards,
Yap

6 Replies

NM Nijamudeen Mohamed Sulaiman Syncfusion Team July 13, 2015 05:23 PM UTC

Hi yapwen,

Thanks for your interest in Syncfusion products.

We can able to achieve your requirement of customize the Appointment Editor. Please refer the following Knowledge Base.

KB Link: http://www.syncfusion.com/kb/5160/how-to-add-extra-fields-in-the-default-appointment-editor


Currently we are working on to create same sample using VB. We update you the Details within 2 business day (15th July, 2015). We appreciate your patience until then.

Please let us know if you have any queries.

Regards,
Nijamudeen M.



NM Nijamudeen Mohamed Sulaiman Syncfusion Team July 15, 2015 10:00 AM UTC

Hi yapwen,

Sorry about the inconvenience caused.


As of now we don’t have any support to customize the SfSchedule`s default appointment editor in VB (WPF). But you can customize the Appointment Editor based on your requirement by overriding the default editor. Please refer the following KB.

KB Link: http://www.syncfusion.com/kb/2701/how-to-create-a-customized-appointment-editor-in-sfschedule


Sample Location: C:\Users\{USERNAME}\AppData\Local\Syncfusion\EssentialStudio\13.2.0.29\WPF\SfSchedule.WPF\Samples\CustomizationDemo\CS


We have prepared a same sample using VB (WPF). Please find the sample below.

VB Sample: EditorCustomization_VB

Please let us know, if you have any queries.

Regards,
Nijamudeen M.



YA yapwen July 18, 2015 12:42 PM UTC

Hi Nijamudeen,

Thank you.

Regards,
Yap


VR Vigneshkumar Ramasamy Syncfusion Team July 21, 2015 01:15 PM UTC

Hi Yap,

Thanks for the update. Please let us know if you have any further queries.

Regards,
Vigneshkumar R


BR Brainative December 4, 2018 07:54 AM UTC

How to make schedulecontrol as view only and not editable (in VB)?


VR Vigneshkumar Ramasamy Syncfusion Team December 5, 2018 06:44 AM UTC

Hi Brainative 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query with “How to make schedulecontrol as view only and not editable (in VB)?” , your requirement can be achieved by setting AllowEditing property as false.  Please find the below code snippet for the same. In the attached sample we have used customer context menu and editor, since I have handled AllowEditing property in AppointmentEditorOpening and ContextMenuOpening to stop the edit action. 
 
 
<syncfusion:SfSchedule x:Name="Schedule" AllowEditing="False" ScheduleType="Week" ShowAppointmentNavigationButtons="True" IsHighLightWorkingHours="True"   
                               Background="White" TimeInterval="OneHour" Margin="20"> 
 
>>>>>>>>>> 
Private Sub Schedule_AppointmentEditorOpening(ByVal sender As Object, ByVal e As AppointmentEditorOpeningEventArgs) 
            e.Cancel = True 
            If (Schedule.AllowEditing) Then 
                AddDataContext = New BindingClass() With {.CurrentSelectedDate = e.StartTime, .Appointment = e.Appointment} 
                If e.Appointment IsNot Nothing Then 
                    EditAppointment() 
                Else 
                    customeEditor.AppType.SelectedIndex = 0 
                    AddAppointment() 
                End If 
            End If 
 
        End Sub 
 
>>>>>>>>>>>>> 
 
              Private Sub Schedule_PopupMenuOpening(ByVal sender As Object, ByVal e As ContextMenuOpeningEventArgs) 
                     RadialPopup.IsOpen = False 
            e.Cancel = True 
            If Schedule.AllowEditing Then 
 
 
Please find the modified sample form the below link. 
 
Sample Link: Schedule_VB
 
 
Please let us know if this helpful. 
 
Regards 
Vigneshkumar R 


Loader.
Live Chat Icon For mobile
Up arrow icon