using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

using Telerik.WebControls; 

namespace InputAndCalendar
{
    public partial class _Default : System.Web.UI.Page
    {
            //if (cbMinMax.Checked)
            //{
            //    int thisYear = DateTime.Today.Year;
            //    int thisMonth = DateTime.Today.Month;
            //    int lastDay = DateTime.DaysInMonth(thisYear, thisMonth);

            //    RadDateInput1.MinDate =
            //        new DateTime(thisYear, thisMonth, 1);
            //    RadDateInput1.MaxDate =
            //        new DateTime(thisYear, thisMonth, lastDay);
            //}
            //else
            //{
            //    RadDateInput1.MinDate = DateTime.MinValue;
            //    RadDateInput1.MaxDate = DateTime.MaxValue;
            //}
    }
}
