Hi,
I need to hide calender of datetimepicker in (c#).net.
Thanks in advance
What do you mean by hide a calendar?
If I'm not very wrong, DateTimePicker is a calendar, or do you mean the MonthCalendar control?
The calendar part of DateTimePicker is hidden until the user clicks on the dropdown box, and what would be the point of using a DateTimePicker without letting someone easily select the date from a calendar?
I am displaying the Time in the dateTime Picker thats why no use of Calender
Set the Format property to Time and the ShowUpDown property to True.
But How to hide dropdown calender.
Setting ShowUPDown property to True removes the dropdown calendar.
Thanks Momerath it works.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.