public void WeekNumber1()
        {
            DateTime date   = new DateTime(2017, 01, 02);
            int      result = weekNumber.GetISO8601WeekNumber(date);

            Assert.AreEqual(1, result);
        }
    protected void Calendar_DayRender1(object sender, DayRenderEventArgs e)
    {
        if (e.Day.Date < DateTime.Now.Date || e.Day.IsOtherMonth)
        {
            e.Day.IsSelectable = false;
            e.Cell.ForeColor   = System.Drawing.Color.LightGray;
        }

        int    weeknum          = weekNumber.GetISO8601WeekNumber(e.Day.Date);
        string jscriptStartDate = "<script type='text/javascript'> addWkColumn('" + startDate.ClientID + "', " + weeknum + ");</script>";

        Page.ClientScript.RegisterStartupScript(this.GetType(), "AddWeeknumbersStartDate", jscriptStartDate);
    }
    protected void CalendarDayRender(object sender, DayRenderEventArgs e)
    {
        DisableDays(e);
        int    weeknum        = weekNumber.GetISO8601WeekNumber(e.Day.Date);
        string jscriptEndDate = "<script type='text/javascript'> addWkColumn('" + searchDate.ClientID + "', " + weeknum + ");</script>";

        ScriptManager.RegisterStartupScript(Page, this.GetType(), "AddWeeknumbersTilDato", jscriptEndDate, false);
    }