Solved

Change ASP.NET Calendar Control Start Month

Posted on 2006-11-02
2
979 Views
Last Modified: 2008-01-09
Hi

Should be an easy one for someone. I have a calendar control which, when page displays, defaults to current month. I'd like to change the displayed month on page load. I've looked through the properties of the calendar control and can't find how to change it.

I would assume that if it's not a property, I would have to code for the control render?

Please could someone tell me how to do it?

Thanks

Chris
0
Comment
Question by:cmhunty
2 Comments
 
LVL 11

Accepted Solution

by:
ethoths earned 125 total points
Comment Utility
Try this...

Calendar1.VisibleDate = New Date(1965, 6, 15)
0
 
LVL 11

Author Comment

by:cmhunty
Comment Utility
Hi

Sat and went through all the properties about 10 times and for some reason, never spotted that on!! Thank you!

Chris
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now