예제 #1
0
        protected void C1Calendar1_SelectedDatesChanged(object sender, EventArgs e)
        {
            ServerSideLogger.Content = string.Empty;
            var count = C1Calendar1.SelectedDates.Length;

            if (count == 0)
            {
                ServerSideLogger.Append("SelectedDates changed to empty.");
            }
            else
            {
                ServerSideLogger.AppendLine("SelectedDates changed to:");
                foreach (DateTime d in this.C1Calendar1.SelectedDates)
                {
                    ServerSideLogger.AppendLine(d.ToShortDateString());
                }
            }
        }
예제 #2
0
 protected void C1AutoComplete1_ItemSelected(object sender, EventArgs e)
 {
     ServerSideLogger.AppendLine("ItemSelected: " + C1AutoComplete1.Text);
 }