calendar function

J

Jason

I am trying to make the dates in a calendar not clickable in a C# .net
program. So when a user trys to click on a future date that is not
with in a date range of the data it would not display a link. Any
suggestions?

Jason
 
S

Shakir Hussain

You can set the MaxDate and MinDate values to control the date ranges

this.monthCalendar1.MinDate = new System.DateTime(2004, 11, 1, 0, 0, 0,
0);
this.monthCalendar1.MaxDate = new System.DateTime(2004, 12, 15, 0, 0, 0,
0);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top