p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   Calendar.SelectedDate and clearing it (http://p2p.wrox.com/showthread.php?t=52556)

Quick209 January 10th, 2007 08:47 PM

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?

Quick209 January 12th, 2007 02:17 PM

Found out how to do this. There is a function that clears out the selected date.


Plural version of SelectedDate hehe.

All times are GMT -4. The time now is 12:31 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.