Is it possible to use a recurrence control to get dates without using a calendar control like you can wht the winschedule control, http://community.infragistics.com/forums/p/56989/336376.aspx#336376 ? I need to use only recurrence control to set a date pattern. I do not need a calendar control. I'm writing a small app that allows users to schedule reports on our system.
Thanks for any suggestions.
Hello mroyalty2002 ,
Thank you for posting in our forums.
The form which is used is Recurrence.aspx
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/?page=Web_WebSchedule_Including_WebSchedule_Dialog_Forms_in_your_CS_Web_Site.html
Should I understand that you want to show this form without Appointment?
http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/?page=WebSchedule_Creating_and_Modifying_a_Recurring_Appointment.html
Hope hearing from you.
Hello Tsvetelina,
Thank you for the reply. That is correct. I would like to use the recurrence form on my aspx screen without Appointment.
Thanks!
This appears to be what I'm looking for. I appreciate your help with this!
Matt
Hello mroyalty2002,
Thank you for your confirmation.
For the purpose I recommend you paying attention to
Scripts/ig_recurrenceDialog.js and
Scripts/ig_recurrenceDialogForm.js
regarding getting and setting values in the form.
In order to show the recurrence dialog you can use
showRecurrenceDialog function from ig_addAppointmentDialog.js file :
ig_AddAppointmentDialog.prototype.showRecurrenceDialog = function()
{
document._appointment = this._appointment;
var recurrenceDialog = null;
this._recurrenceDialogDisplayed = true;
document._dialog = this;
if(ig_shared.IsIE) // IE is Modal
recurrenceDialog = showModalDialog(this._recurrenceDialogUrl, document, "dialogHeight:"+ this._recurrenceDialogHeight +"; dialogWidth: " + this._recurrenceDialogWidth + " edge: Sunken; center: Yes; help: No; scroll:No; resizable: Yes; status: No;");
this._recurrenceDialogClosing();
}
else// Firefox is Modeless
recurrenceDialog = window.open(this._recurrenceDialogUrl, null, 'modal=yes,resizable=yes,scrollbars=auto,dependent=yes,toolbar=no,status=no,location=no,menubar=no,height='+this._recurrenceDialogHeight + ', width=' + this._recurrenceDialogWidth);
recurrenceDialog.onunload = this._recurrenceDialogClosing;
Please let me know if you need further assistance