1
Vote

MonthView Crash

description

I've downloaded the source code, compile and run, it will crash every time in the MonthView.cs at line 630. I get the same exception from the demo project(compiled).
 
        for (int i = 0; i < 7; i++)
        {
            strs[i] = ViewStart.AddDays(i).ToString(DayNamesFormat).Substring(0, DayNamesLength);
        }
 
Index and length must refer to a location within the string.
Parameter name: length
 
PS. I am unsing VS.NET 2008 SP1 on Windows Server 2003 Sp2

comments