View Single Post
  #1 (permalink)  
Old January 10th, 2007, 08:47 PM
Quick209 Quick209 is offline
Authorized User
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Fresno, California, USA.
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calendar.SelectedDate and clearing it

Hey All,

I am doing AJAX stuff with the calendar control making it popup dynamically to fill in dates and stuff. All that is working fine and knowledge not needed for the issue I am having. :)

How do you clear the selecteddate property of the ASP.NET calendar control. The issue I am having is I am using the same calendar to popup next to textboxes as an option to input the date. Once a date is selected, the calendar retains it so if someone tries to select the same date again, the selectionchanged event will not fire since the date is already selected. How do you null out the selecteddate property?