I think the code is throwing custom exception and suggesting that selected dates should be within range which is probably set in MaximumViewDays.
System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays' in c#
Anonymous
I want to select multiple days in my monthView1, but
the error message say."System.Exception: 'Days between ViewStart and ViewEnd should be between 1 and MaximumViewDays'"
and here my code.
private void monthView1_SelectionChanged(object sender, EventArgs e)
{
calendar1.SetViewRange(monthView1.SelectionStart, monthView1.SelectionEnd);
}