BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Muhammed,
Thanks for your interest in Syncfusion products.
Yes. We have provided
customization support for AppointmentEditor, so that we are able to use our own
Editor control instead of the default AppointmentEditor available in Schedule.
Please refer the below sample.
Dashboard -> WinRT -> Schedule -> CustomizationDemo
In the above sample we have used custom editor instead of
the default editor, so that we are able to handle the “Save” button click for
further operations.
Please let us know, if you need any further assistance.
Regards,
Joy Oyiess Rex K
Hi Muhammad,
Thanks for your previous update.
We are able to get the cell related values when tap (click)
on the cell by ScheduleTapped event of the SfSchedule.
schedule1.ScheduleTapped
+= schedule1_ScheduleTapped;
|
We have attached a sample for the same, please find the
sample in the attachment.
In the provided sample we have get the related details such
as selected dates, appointments on the selected Date etc. when tapped on the
Schedule.
Note: If the SDK
version mismatched in the sample, please replace it with your installed version
of SDK from Windows -> Extensions in the Reference Manger.
Please let us know, if you need any further assistance.
Regards,
Joy Oyiess Rex K
Hi Muhammad,
Sorry for the inconvenience
caused.
The mentioned issue is due to certain
sever problem, it is resolved now and you can download the sample which we have
provided in our previous update is attached with this. Please find the sample
in the attachment.
Please let us know, if you need
any further assistance.
Regards,
Joy Oyiess Rex K
Hi David,
Thanks for your interest in
Syncfusion products.
As of now, we don’t provide any
support to select the particular appointment (like Schedule.MoveToAppointment).
Please let us know, if you need
any further assistance.
Regards,
Joy Oyiess Rex K
Hi Mohammad,
We have prepared a simple sample
to achieve your requirement though the argument informations available in
ScheduleTapped event. Please find the sample in the attachment.
In the provided sample, we are
able to add /clear the ScheduleAppointments in the selected column through the
ResourceName (which is not the DisplayName, instead it’s a ColumnID for
resource).
If the provided solution doesn’t
meet your requirement, please revert us back with more information, so that we
could analyse on it and provide you possible solution.
Please let us know, if you need
any further assistance.
Regards,
Joy Oyiess Rex K
Hi Mohammad,
Please find the response for your query below.
Requirement of
clearing the appointments from schedule:
To clear the appointments in the schedule you need clear
Appointments collection of the schedule and then add the new appointments into
it. Please refer the below code snippet.
C# Code:
//Clearing Old appointments and setting new appointments
schedule1.Appointments.Clear();
ScheduleAppointment app = new ScheduleAppointment() {
Subject="Meeting with patients", StartTime = DateTime.Now.Date.AddHours(9), EndTime = DateTime.Now.Date.AddHours(10)
};
ScheduleAppointment app1= new ScheduleAppointment(){
Subject="Heart Operation",StartTime= DateTime.Now.Date.AddDays(1).AddHours(9), EndTime= DateTime.Now.Date.AddDays(1).AddHours(10)};
app.ResourceCollection.Add(new Resource(){ ResourceName="Dr.Darsy",TypeName="Doctor" });
app1.ResourceCollection.Add(new Resource(){ ResourceName="Dr.Jacob",TypeName="Doctor" });
schedule1.Appointments.Add(app);
schedule1.Appointments.Add(app1);
Requirement of
changing the Resource of the schedule:
“ScheduleResourceTypeCollection” property of schedule’s collection
change will not be listened, instead you need to set the value to this property
instead of clearing and adding the items in it. Please refer the below code
snippet.
C# Code:
// Setting new resource to schedule
ObservableCollection<ResourceType>
Restype_coll = new ObservableCollection<ResourceType>();
ResourceType Patient
= new ResourceType(){TypeName="Patient"};
Patient.ResourceCollection.Add(new Resource() { DisplayName = "Mark",
ResourceName = "Mark" });
Patient.ResourceCollection.Add(new Resource() { DisplayName = "Micheal",
ResourceName = "Micheal" });
Restype_coll.Add(Patient);
schedule1.ScheduleResourceTypeCollection = Restype_coll;
//Setting the TypeName to display the current resource in
schedule
schedule1.Resource = "Patient";
Based on the above solution we have prepared a simple sample based
on your requirement. Please download the same from the attachement.
Please let us know if you need any further clarifications.
Regards,
Saravanan A