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

SfSchedule Appointment Editor

Thread ID:

Created:

Updated:

Platform:

Replies:

119592 Jul 11,2015 01:08 AM UTC Dec 5,2018 06:44 AM UTC WPF 6
loading
Tags: SfSchedule
yapwen
Asked On July 11, 2015 01:08 AM UTC

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

Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On 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.


Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On 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.


yapwen
Replied On July 18, 2015 12:42 PM UTC

Hi Nijamudeen,

Thank you.

Regards,
Yap

Vigneshkumar Ramasamy [Syncfusion]
Replied On 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

Brainative
Replied On December 4, 2018 07:54 AM UTC

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

Vigneshkumar Ramasamy [Syncfusion]
Replied On 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 


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;