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

Customizing SfSchedule control

Hi! I have just begun playing with the Syncfusion WinRT controls and I'm very interested in the SfSchedule control. Is it possible to customize the entry/edit panel on that control?

This looks like a great suite of controls and I'm looking forward to using them in my apps!

Thanks!
Dennis

9 Replies

DR Dhanasekar R Syncfusion Team July 1, 2013 10:25 AM UTC

Hi Dennis,

 

    Your requirement is available in our recent refresh release.

 

     Essential Studio for WinRT (XAML) v11.2.0.29 is rolled out and is available for download under the        following link.

 

    http://www.syncfusion.com/support/forums/winrt/109691/Syncfusion-Essential-Studio-for-WinRT-%28XAML%29-v112029-%28Service-Pack%29-available-for-download-

 

    You can refer the Editor customization sample in Schedule Control samples. In which we've achieved it using "AppointmentEditorOpening" event to override default editor.

 

     Please let us know if any further clarifications.

 

Regards,

 

Dhanasekar R.



DT Dennis Tabako July 9, 2013 12:47 PM UTC

Thanks for your reply! I just got back from vacation and I'm starting to get back into this some more. I downloaded the service pack from the download link you provided but I did not yet run it as I was sent a product key for a trial version. I don't have a trial version and I don't want to mess up my current install. Will I be OK to run that update?

Thanks!
Dennis


JO Joy Oyiess Rex  K Syncfusion Team July 10, 2013 11:21 AM UTC

Hi Dennis,

 

Regarding your previous query, please refer the following forum

 

http://www.syncfusion.com/support/forums/general/109691

 

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

 

Regards,

Joy Oyiess Rex K



DT Dennis Tabako July 12, 2013 12:43 AM UTC

Thank you Joy! I was actually one of the participants in that thread. I was able to apply the update successfully but I have not had a chance to try modifying the entry/edit panel yet. I do notice that there are some issues with the schedule control fixed in this update, though!

 

Thanks,

Dennis



JO Joy Oyiess Rex  K Syncfusion Team July 12, 2013 10:21 AM UTC

Hi Dennis,

 

Based on your information in your previous update,  we suspect that your requirement is to modify the default template for Appointment Editor, We have attached a sample by overriding  the default template for Appointment Editor.

 

If the provided solution was not satisfy your requirement, please revert us back with more information(especially regarding the entry/edit Panel) by thus we could assist you better.

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

 

Regards,

Joy Oyiess Rex K



CustomAppointmentEditor_28cd618f.zip


KE Kesem September 12, 2013 07:36 PM UTC

Hi,

First I want to say that I'm really enjoying using the Syncfusion controls. They work great and save me a lot of time...

I need an example for how to override the Appointment Scheduler. I want to use my own user control.

I was happy to see that you've provided an example. Unfortunately, this example won't work with the newest Syncfusion version.

Also, I have a question -

When using the Scheduler, is there a way to get an event upon a date selected (or to bind the current selected date to a property )?

Please provide another sample that I can use..

Thanks,

Kesem



JO Joy Oyiess Rex  K Syncfusion Team September 13, 2013 12:30 PM UTC

Hi Kesem,

 

Thanks for your interest in Syncfusion Products.

 

We suspect that your requirement is to customize appointment template. Since we have changed the Data type of AppointmentTemplate from ControlTemplate to DataTemplate in the latest version.

Therefore we can customize the default template for Appointment through the below code snippet.

 

[Code Snippet]                                                                                   

 

<syncfusion:SfSchedule

    <syncfusion:SfSchedule.AppointmentTemplate>

        <DataTemplate>

 

               <!--   Template for ScheduleAppointment   -->

 

         </DataTemplate>

     </syncfusion:SfSchedule.AppointmentTemplate>

</syncfusion:SfSchedule>                                                                          

                                                            

 

We have created a simple sample for the same, please find the sample in the attachment.

 

In the attached sample we have override the default template for ScheduleAppointment and for the requirement of getting the selected date, we have used ScheduleTapped event of the SfSchedule.

 

If the solution provided has not meet your requirement, please revert us back with more information by thus we could provide you possible solution.

 

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

 

Regards,

Joy Oyiess Rex K



AppointmentSfSchedule_WinRT_92608546.zip


KE Kesem September 13, 2013 04:03 PM UTC

Hi,

Thank you for your prompt reply :)

This sample is great, and addresses some of my issues.

I don't want to us a template for the appointment on the scheduler. What I want is do use my own Appointment scheduling dialog (for example - I want to allow the user to select location from a specific list, and to add participant to the meeting).

I am using the ScheduleTapped event now, and raise my own schedualing dialog.

My issue now is that I  don't want the default buttons (edit, new, delete) to show up once I tapped a slot in the scheduler.

Is there a way to do this ? or is there another way to override the scheduling dialog ?

Many thanks,

Kesem

 

 

 



JO Joy Oyiess Rex  K Syncfusion Team September 16, 2013 08:29 AM UTC

Hi Kesem,

 

In order to disable the default context menu and open your own control you can use the ContextMenuOpening event of the SfSchedule, where you can disable the context menu by using the following code snippet,

 

[Code Snippet]                                                                                   

 

    void schedule_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e)

     {

       e.Cancel = true;

     }          

                                                  

 

Similar to the ScheduleTapped event of the SfSchedule, we can also use the ContextMenuOpening event of the SfSchedule to take the SelectedDate using the CurrentSelectedDate Property.

 

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

 

Regards,

Joy Oyiess Rex K


Loader.
Live Chat Icon For mobile
Up arrow icon