Jump to content


C# The datepicker is missing for windows 8?

c# windows 8 wpf date picker

  • Please log in to reply
11 replies to this topic

#1 sathenzar



  • Joined: 12-June 06

Posted 30 December 2012 - 13:34

What the heck? What genius thought this was a good idea? Does anyone know if they released like a toolkit with one in it or do I really have to create one myself? I just need a simple datepicker this is 2012 almost 2013 how can we not have this simple, yet needed control?

#2 Xerax



  • Joined: 04-December 10
  • Location: London, UK
  • OS: Windows 8.1

Posted 30 December 2012 - 13:49

What type of Windows 8 development? RT or Win32?

If you're talking about RT, then yes, I agree it was a huge error of MS to not include one, but this should suffice; https://github.com/timheuer/Callisto

#3 +Nik L

Nik L

    Where's my pants?

  • Tech Issues Solved: 6
  • Joined: 14-January 03

Posted 30 December 2012 - 14:57

WTF? They removed a common dialog? Something that developers rely upon? Stupid!

#4 +Majesticmerc


    Resident Idealist

  • Tech Issues Solved: 9
  • Joined: 24-August 05
  • Location: United Kingdom
  • OS: Arch Linux / Win 7
  • Phone: HTC One X

Posted 30 December 2012 - 21:13

Seems to be that the date picker is missing from WinRT. As Xerax said, the common solution is Callisto (I lied, Callisto doesn't have a working datepicker yet). I can't find a working control on Google that's free, you might have to use a number picker with some date logic.

Does anyone know the logic behind why they didn't include a DatePicker control? Seems pretty retarded on the face of it to omit something as frequently used as a date picker.

#5 OP sathenzar



  • Joined: 12-June 06

Posted 31 December 2012 - 13:38

Exactly, it's the not fact that I couldn't make one myself, its just why do I have to in 2012 (almost 2013)? That's like getting a car without a/c in the summer when buying a new car. I mean yeah, you could manage, but what idiot thought of not to include it? That person should be fired.

#6 Kami-


    ♫ d(-_-)b ♫

  • Tech Issues Solved: 3
  • Joined: 28-July 08
  • Location: SandBox

Posted 31 December 2012 - 17:08

Hmm; this does seem like a very stupid idea...

If you have Expression Blend, you could add one quickly, otherwise looks like a 'find one online' or 'code your own' situation.

#7 OP sathenzar



  • Joined: 12-June 06

Posted 01 January 2013 - 20:13

I'm going to create my own I guess as I can't seem to find a free one. I've never made a date picker control before but I'm assuming I'm going to piggyback off of the DateTime class to generate the UI unless someone has a better idea.

#8 +Audien


    Software Eng.

  • Tech Issues Solved: 3
  • Joined: 30-December 03
  • Location: Seattle, WA
  • OS: Windows 10
  • Phone: iPhone 6

Posted 01 January 2013 - 20:17

I think it has to do with some missing locale info? One of the projects I work on wouldn't compile under RT because some locale field weren't present.

#9 OP sathenzar



  • Joined: 12-June 06

Posted 02 January 2013 - 00:47

hm...the only thing I've realized at this point is I'm not sure how to tell which row the first of the month starts on. Like you can have up to 6 rows for each month. Not sure how to calculate which row the first of the month would start on. I've got everything else figured out. Google hopefully you'll be my friend...or the good people here at neowin :) I'm going to release this control for free once I'm done with it and post it everywhere so people can have a date time picker in their windows 8 apps.

#10 OP sathenzar



  • Joined: 12-June 06

Posted 02 January 2013 - 01:29

I'm actually over thinking it I realized. I don't need to worry about the top row I just need to get what day of the week the first day falls on (which is easy to do). Back on track everyone. I'll post an upload link once I'm finished (I'm going to go eat dinner so it'll be a bit).

#11 OP sathenzar



  • Joined: 12-June 06

Posted 06 January 2013 - 01:30

I created a basic date picker control and uploaded it to my server. If anyone has a better place in mind that I can upload to feel free to let me know. The download is at http://cloud.drslabs...Win8MiscLib.pri and http://cloud.drslabs...8MiscLib.winmd. Feel free to use them as you wish. I'll be updating the controls with more features/more controls as time goes along. I'll probably create a codeproject page for it and expand on it as time goes on. Let me know what you think! :)

#12 OP sathenzar



  • Joined: 12-June 06

Posted 06 January 2013 - 01:35

Weird I just tried importing the files into another project and it says my xaml files are missing. Do I need my xaml files for Runtime libraries? Is there a way to bundle them into one file (ex. the winmd file)?