Hi,
I'm trying to implement this calendar as a date picker on my app with range selection. As part of this, i'm trying to only allow them to select a range of 10 days total.
If this click inside of this 10 days, it will select the range. -> This works ok
If they click outside of this 10 days, I want to change their "starting" date of the range to this new date, so that they now have a new 10 day window to interact with. If they click within this window I want it to be a range. However, what is happening is that i'm able to show that they only have the new day selected. But it seems like in the background, the calendar still thinks I have a range selected, instead of just my 1 selection. I haven't been able to find a way to "clear" out the calendar's thinking of the first day in its selection.
If I only have the first day of a range selected, how can I either programmatically change the "first" day of a range when only 1 is selected. Or how can I clear out the range so that the calendar doesn't think I have a range selected? I've tried several times to change the calendar.SelectedDateRange.Start and End with no success. It seems like somewhere in the background there is some property on the calendar that I can't see that is telling it whether or not it is selecting the first or second date in a range.
Let me know if you need more information. I can't figure out what i'm missing.