MonthlyRecurrenceControl.CheckForWarnings(ValidationArgs) Method
In This Article
Checks whether a valid day number is specified by the end-user.
Namespace: DevExpress.Web.ASPxScheduler.Controls
Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll
NuGet Package: DevExpress.Web.Scheduler
#Declaration
public override void CheckForWarnings(
ValidationArgs args
)
#Parameters
Name | Type | Description |
---|---|---|
args | Validation |
A Validation |
#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