ASP.NET Calendar - Knowledge Base

« Back to Knowledge Base list

Set selected date from server-side


How can I set selected date in calendar control from server-side?


The date can be set from server-side using the SelectedDate property of Calendar control. But if you need to get the selected month displayed, the calendar property DateFirstMonth also must be set.

For more information please check this kb-article.