Solved

Change ASP.NET Calendar Control Start Month

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

832 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