Reputation: 11972
txtmonth = '01/2011'
(This is a textbox control)
I have a Date Control which should automatically display January 2011
. The end user should not able to select month & year from the date control, only the day.
User should select only the date from that month. How to do this?
Upvotes: 0
Views: 270
Reputation: 24253
You can limit the data range they can select by setting the MinDate
and MaxDate
properties.
This applies to both the DTPicker and the MonthCal controls.
Upvotes: 3