deselect calendar control

L

Logan McKinley

I don't want to allow users to select future dates on my calendar controls
(System.Web.UI.WebControls.Calendar), right now i can throw the error
message but i can't figure out how to remove their selection.
Any help would be greatly appriciated,
~Logan
 
L

Logan McKinley

This seems to work... sorta

Cldr.SelectedDate = new DateTime(1,1,1);
It sets Cldr.SelectedValues.Count == 0 which worked for what i needed

~L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top