Skip to main content

ejRecurrenceEditor

Namespace: Wisej.Web.Ext.Syncfusion

Assembly: Wisej.Web.Ext.Syncfusion (4.1.0.0)

The Recurrence Editor includes the entire recurrence related information in a separate portable manner which can be either utilized as a separate widget or else can be embed within the appointment window of Scheduler to enable recurrence options within it. The recurrence rule can be easily generated based on the frequency selected. The customizations like changing the labels of the Recurrence Editor is also possible to achieve through its properties. The frequencies available are Never, Daily, Weekly, Monthly, Yearly and Every weekday.

public class ejRecurrenceEditor : ejBase

Constructors​

Instance member ejRecurrenceEditor()​

Constructs a new instance of the ejRecurrenceEditor class.

Example:

The following example creates the recurrence editor and reads the recurrence rule defined by the user.

var editor = new ejRecurrenceEditor();
editor.Options.frequencies = new[] { "daily", "weekly", "monthly" };
editor.Size = new Size(500, 300);
this.Controls.Add(editor);

// later, i.e. in the handler of a button.
string rule = await editor.Instance.getRecurrenceRuleAsync();

Instance member ejRecurrenceEditor(options)​

Constructs a new instance of the ejRecurrenceEditor class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a recurrence editor that offers three frequencies and starts with the weekly frequency.

var editor = new ejRecurrenceEditor(new
{
frequencies = new[] { "daily", "weekly", "monthly" },
selectedRecurrenceType = 1
});
editor.Size = new Size(500, 300);
this.Controls.Add(editor);

Implements​