Solved

Change ASP.NET Calendar Control Start Month

Posted on 2006-11-02
2
1,015 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Modal Popup Extender control 1 51
asp Google Map 2 56
Header Font Size in Grid View 6 23
ASP.NET Built-In Report Creator / Viewer 5 19
One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…

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