protected void Test(object sender, EventArgs e) { txtDate.Text = Calendar1.SelectedDate.ToShortDateString(); }