Skip to main content

MonthlyRecurrenceControl.CheckForWarnings(ValidationArgs) Method

Checks whether a valid day number is specified by the end-user.

Namespace: DevExpress.Web.ASPxScheduler.Controls

Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll

Declaration

public override void CheckForWarnings(
    ValidationArgs args
)

Parameters

Name Type Description
args ValidationArgs

A ValidationArgs class instance, containing the check result, and a warning message.

Remarks

Use this method to check the day number specified by the end-user in the control’s spin edit.

If the control’s MonthlyRecurrenceControl.ClientDayNumber is greater than 28, the ValidationArgs.Valid value is false and ValidationArgs.ErrorMessage contains the following text:

Some months have fewer than 31 days. For these months, the occurrences will fall on the last day of the month.

See Also