Change ASP.NET Calendar Control Start Month

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
LVL 11
cmhuntyAsked:
Who is Participating?
 
ethothsConnect With a Mentor Commented:
Try this...

Calendar1.VisibleDate = New Date(1965, 6, 15)
0
 
cmhuntyAuthor Commented:
Hi

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

Chris
0
All Courses

From novice to tech pro — start learning today.