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.
Unfortunately, activation email could not send to your email. Please try again.

Customizing SfSchedule control

Thread ID:

Created:

Updated:

Platform:

Replies:

109697 Jun 28,2013 09:47 AM Sep 16,2013 04:29 AM Silverlight 9
loading
Tags: Schedule
Dennis Tabako
Asked On June 28, 2013 09:47 AM

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

Dhanasekar R [Syncfusion]
Replied On July 1, 2013 06:25 AM

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.


Dennis Tabako
Replied On July 9, 2013 08:47 AM

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

Joy Oyiess Rex  K [Syncfusion]
Replied On July 10, 2013 07:21 AM

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


Dennis Tabako
Replied On July 11, 2013 08:43 PM

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


Joy Oyiess Rex  K [Syncfusion]
Replied On July 12, 2013 06:21 AM

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

Kesem
Replied On September 12, 2013 03:36 PM

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


Joy Oyiess Rex  K [Syncfusion]
Replied On September 13, 2013 08:30 AM

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

Kesem
Replied On September 13, 2013 12:03 PM

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

 

 

 


Joy Oyiess Rex  K [Syncfusion]
Replied On September 16, 2013 04:29 AM

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


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.

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.

;