473,503 Members | 3,247 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to show different colors for enabled/disable dates on datetimepicker

Hi,
I am working on datetimepicker and want make the dates out of my range
disabled.
There are APIs that I have used: minDate, maxDate. It works fine.
However, users can not tell which date can't be selected as the dates
in the dropdown are with the same color.
This is not kind to user.
I want to make the dates out of the selectable range to show a
different color as they are disabled.

I searched on google for a whole day and have no luck.
Can anyone help me on this?
Thanks,

Jesse.

Jul 23 '07 #1
1 3127
I am still working on this.
I find that look&feel of datatimepicker is implemented in the some cs
file named ***Theme.
Is there anyone have worked out this by using a custom Theme?

On Jul 23, 2:59 pm, Jesse <zhangji...@gmail.comwrote:
Hi,
I am working on datetimepicker and want make the dates out of my range
disabled.
There are APIs that I have used: minDate, maxDate. It works fine.
However, users can not tell which date can't be selected as the dates
in the dropdown are with the same color.
This is not kind to user.
I want to make the dates out of the selectable range to show a
different color as they are disabled.

I searched on google for a whole day and have no luck.
Can anyone help me on this?
Thanks,

Jesse.

Jul 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6071
by: Sridhar | last post by:
Hi, I need to display a calendar that shows all the months of an year. In that, I need to show different colors for certain events. I know how to display a calendar for a certain month but I am...
0
2070
by: Kumar R | last post by:
How to disable the specific date in the DateTimePicker control. suppose i want to disable all sundays and saturdays of the particular month. how to do? i search in the many sites, but i didn't find...
5
2684
by: M Skabialka | last post by:
I am creating my first Visual Studio project, an inventory database. I have created a form and used written directions to add data from a table to the form using table adapters, data sets, etc. ...
2
8167
by: Claes Wedin | last post by:
My customer needs a DateTimePicker in VS2005 C# that can show emty date values (blank/space/null). I need a control that: 1. Can show a blank value 2. Detete a date when hitting the delete...
6
1811
by: Rob | last post by:
I would like to show dark fonts (so that the text is readable and not greyed out) in a text box, however, I do Not want the text box to be Enabled, because I do not want the text box to ever have...
12
7262
by: Chris Shepherd | last post by:
Greetings group, I have a situation where I'd like to visibly see disabled dates on a DateTimePicker. Frequently the Min and Max dates in the picker will be set only to days apart, and so I...
7
2153
by: Kirsten | last post by:
I am trying to set the colors for the DateTimePicker. I managed to change all the calendar colors - that is, of the calendar after the DateTimePicker is click and the Calendar is opened, but nothing...
4
7551
by: scubasteve | last post by:
Hi, I'm having issues with AC2007 custom ribbons. I'm building an AC2007 runtime app which has a custom ribbon (called CommandsDisabledHideRibbon) set as the default db ribbon name (see XML at...
0
2520
by: jason.richard | last post by:
Hi Does anyone know how to disable and enable ConfirmButtonExtender, using Javascript? I don't want the ConfirmButtonExtender to be enable until a change to a text box has been made. Here...
0
7194
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5566
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4993
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.