jQWidgets Forums
jQuery UI Widgets › Forums › ASP .NET MVC › Capturing recurring Appointments
Tagged: scheduler recurring
This topic contains 10 replies, has 3 voices, and was last updated by dunsmonj 7 years, 7 months ago.
-
Author
-
Hello Everyone,
Right now I am capturing the appointment CRUD by sending the json objects back to the server. How can I capture the recurring appointment data? when I look through the object I cannot really tell whats going on. For a sample some of my code looks like this.
$(“#scheduler”).on(‘appointmentAdd’, function (event) {
var args = event.args;
var appointment = args.appointment;
console.log(args.appointment);
var data = { client: appointment.originalData.subject, id: appointment.originalData.id, Provider: appointment.originalData.calendar, Description: appointment.originalData.description, Start: appointment.originalData.start, End: appointment.originalData.end, status: appointment.status };
$.ajax({
type: “POST”,
url: ‘/home/AddAppointment’,
data: data,
success: “”,
dataType: ‘string’
});
$(“#dialogscheduler”).children().first().children().eq(1).children().first().val(“”);});
Hi dunsmonj,
The recurring appointment is just a copy of the appointment. A Master appointment holds information about the recurring appointments in the recurrencePattern appoointment data field.
Best Regards,
Peter StoevjQWidgets Team
https://www.jqwidgets.com/I can see the frequency but I cannot see when the appointment recurring ends. How do I read the pattern?
Hi dunsmonj,
The recurring may not end. Actually, by default it does not as “Never” is the first option. The other options are After # of occurrences or at specific date. If the pattern has Count or Until, then it will end after number of occurrences or at specific date.
Best Regards,
Peter StoevjQWidgets Team
https://www.jqwidgets.com/Can I disable monthly and yearly recurring?
Hi dunsmonj,
We do not have API about that.
Best Regards,
Peter Stoev
jQWidgets Team
https://www.jqwidgets.com/How can I disable the option for recurring appointments?
By customizing the Scheduler edit dialog you can disable recurring appointments. Example is shown here: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscheduler/scheduler-edit-dialog.htm?light
In your example though if I edit an existing appointment and then go to create a new appointment it shows the hidden fields, like repeat
Hi dunsmonj,
You can hide the hidden fields, you can even disable the dialog. That example is just a showcase how to customize the dialog.
How do I disable it then? I just want to make sure it doesnt show
-
AuthorPosts
You must be logged in to reply to this topic.