MrGTI
Oct 5th, 2005, 10:06 AM
The calendar control has a SelectedDate property, but why isn't there a SelectedMonth property? I want the calendar to display the month of the selected date, not this month.
Try this,... Drop a Calendar control on a WebForm, and in the Page_Load, but this line of code:
Calendar1.SelectedDate = Now.AddDays(45)
Now when you run the project, the page loads and displays the current month, but the selected date is next month!
Anyone have any ideas?
Try this,... Drop a Calendar control on a WebForm, and in the Page_Load, but this line of code:
Calendar1.SelectedDate = Now.AddDays(45)
Now when you run the project, the page loads and displays the current month, but the selected date is next month!
Anyone have any ideas?