Hi,
I have also been using a month calendar.I tried this code and it worked for me.But the problem is, the calendar doesnt close automatically the second time i select the date.The first time i select it,it works perfect.Incase u find a solution for my problem do let me know.Hope this works for u
private void monthCalendar1_DateSelected_1(object sender, DateRangeEventArgs e)
{
textBox2.Text = monthCalendar1.SelectionEnd.ToShortDateString();
nPopup3.Close();
}
private void monthCalendar1_DateChanged(object sender, DateRangeEventArgs e)
{
textBox2.Text = monthCalendar1.SelectionEnd.ToShortDateString();
nPopup3.Close();
}
Thanks,
Droopy