BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
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.
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.
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
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
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
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
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
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
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