Solved

Change ASP.NET Calendar Control Start Month

Posted on 2006-11-02
2
1,023 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
ethoths earned 125 total points
ID: 17856808
Try this...

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

Author Comment

by:cmhunty
ID: 17856873
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

627 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