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.

Setting the RecurrenceEditor EndDate

Thread ID:

Created:

Updated:

Platform:

Replies:

131711 Jul 24,2017 01:57 PM Jul 26,2017 11:46 PM ASP.NET MVC 3
loading
Tags: Schedule
Charles
Asked On July 24, 2017 01:57 PM

Good evening,

I would love to set the RecurrenceEditor EndDate  and Occurrences to my desired values at startup. How can I change the default settings because the EndDate seems to be default to about 72 days from the CurrentDate while Occurrence is default to 10. I want to use lesser values and also make it readonly.

Thanks.

Karthigeyan Krishnamurthi [Syncfusion]
Replied On July 25, 2017 07:52 AM

Hi Charles        
 
Thank you for contacting Syncfusion support. 
   
We have prepared the sample to customize the end date picker and occurrence numeric value which can be viewed from the below link. 
 
<Code> 
$("#RecurrenceEditor").ejRecurrenceEditor({ 
    selectedRecurrenceType: 2, 
    create: "oncreate", 
    change: function (args) { 
        this.element.find("#endsonuntil").find("#" + this._id + "_daily").ejDatePicker("option", { value: ej.format(new Date(2017, 6, 27), this._datepattern(), this.model.locale) }); 
        this.element.find("#endsonuntil").find("#" + this._id + "_daily").ejDatePicker({ readOnly: true }); 
        this.element.find(".recurcount").ejNumericTextbox({ value: 5, readOnly: true }); 
    } 
}); 
</Code> 
 
Note: Above sample is made in JS platform for your reference. 
 
Regards, 
Karthigeyan 





Charles
Replied On July 26, 2017 12:57 PM

Thanks a lot. The sample pointed me in the right direction. 


Karthigeyan Krishnamurthi [Syncfusion]
Replied On July 26, 2017 11:46 PM

Hi Charles  
 
We are happy to hear that our solution has fulfilled your requirement. 
 
Regards, 
Karthigeyan 


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.

;