Follow me on Twitter at Twitter.com/wbm
FYI, I'm blogging most of my stuff over at More Wally now.
You might want to add my rss feed to your reader at:http://morewally.com/cs/blogs/wallym/rss.aspx
Calendar Control in ASP.NET - Wallace B. McClure

Wallace B. McClure

All About Wally McClure - The musings of Wallym on Web, HTML5, Mobile, MonoTouch for iPhone, MonoDroid for Android, and Windows Azure.

News

Personal Blog

Work Blog

.NET

Book Authors

Business

Family

Friends

Georgia Tech Bloggers

Personal

Archives

Calendar Control in ASP.NET

I have been using the Calendar control for a long time, but I always seem to be initializing it to a value like today, yesterday, or tomorrow.  The other day, I had to initialize it to a value from a year and a half ago and the calendar control continued to show today's month with now date selected.  I thought that was pretty odd.  I began to search through and find that there is a property of the control that is called .VisibleDate which sets the date that is shown to the user, which is different that the .SelectedDate property.  That is very cool and very well thought out, though it was confusing for a few minutes.  I can make other months visible and keep the selecteddate of the control. 

Wally

Posted: Mar 28 2003, 08:32 AM by Wallym | with 2 comment(s)
Filed under:

Comments

Franck quintana said:

\o/

Thx for all :D

I've been blocked too ://///

Greaaaaaaaaaaaaaat !
# January 9, 2004 4:45 AM

dave said:

any help with years?

I am baffled that this control only allow you to scroll to previous/next month... if you want to see a date 10 year later you've to scroll the "month" 120 times! That's plan stupid to me.

Anybody can help?
# August 3, 2004 7:02 AM