How to get a DateTimePicker accept and show empty date (emty string/space/null)?



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 and/or back key
3. Allowse the user to enter yyyy-MM-dd date format manually
4. When tabbed into the field behaves juast like a textbox

and of course dropdown the datepict -calender...
I cannot getthe standard control to do this so I searched on the net.
I have tried several of the solutions that I found bun none worked OK.
The best (TAS DateTimePicker:
http://www.codeproject.com/cs/miscctrl/extended_datetimepicker.asp?df=100&forumid=14186)
works exactly like I want, but it is not VS2005. So I migrate it and get no
errors, build it with errors but when I drag it to the form I get an errror
that the string is not in correct date format...

Anybody have a solution of any kind???

TIA

Claes


.



Relevant Pages

  • Re: Possible reasons application is locking up?
    ... we probably can eliminate DateTimePicker as it's a UI control and it ... InTheHand is probably also low risk. ... what are you using from SDF? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: DateTimePicker.Value
    ... way you do it (showing the datetimepicker opened initially is not very ... Home of Smart PropertyGrid for .Net and MFC ... Microsoft PropertyGrid Resource List -http://www.propertygridresourcelist.com ... DateTimePicker control and here I will not come to know that user has ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: System.Windows.Forms.DateTimePicker
    ... The DateTimePicker from Microsoft ... It's a cutesy little control, but I don't think it was designed for anything ... want to set that date to dbnull. ... problem is the catching of the event of change of Checked property. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: General Windows API Question
    ... Many of the controls are great - the DateTimePicker ... The Codes do not correspond to the CommCtrl.h Windows ... (Maybe some Control development group if it exists?? ... DateTimePicker with the WndProc method overridden. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: DateTimePicker - OpenNETCF 1.3
    ... Ok, Bill, my apologies. ... SetChildIndexmethods, but no ChildHandle property. ... ,which is hosted inside generic control. ... > So with OpenNETCF 1.2 we had the DateTimePicker. ...
    (microsoft.public.dotnet.framework.compactframework)

Loading