• 0

C# The datepicker is missing for windows 8?


Question

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?

11 answers to this question

Recommended Posts

  • 0

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.

  • 0

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.

  • 0

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.

  • 0

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).

  • 0

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.drslabscorp.com/cloudsvc/Win8MiscLib.pri and http://cloud.drslabscorp.com/cloudsvc/Win8MiscLib.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! :)

This topic is now closed to further replies.
  • Posts

    • NASA: This asteroid may not kill us but it probably won't be far off either by Sayan Sen Image by Zelch Csaba via Pexels New observations by NASA's James Webb Space Telescope have eliminated the last remaining impact threat posed by asteroid 2024 YR4, ruling out the possibility that the near-Earth object could strike the Moon in December 2032. NASA said observations collected by Webb on February 18 and 26, 2026, enabled scientists to refine the asteroid's orbit enough to "rule out a chance of lunar impact on Dec. 22, 2032." Instead, asteroid 2024 YR4 is now expected to pass the Moon at a distance of about 13,200 miles (21,200 km). The agency stressed that the update "reflects improved precision in our understanding of where the asteroid is expected to be in 2032 rather than a shift in its orbital path." The announcement closes a remarkable chapter in planetary defence that began in late 2024, when the approximately 60-metre-wide asteroid briefly became the most closely watched near-Earth object in the world. Discovered on December 27, 2024, by the ATLAS telescope in Chile, 2024 YR4 initially appeared to have a small chance of colliding with Earth on December 22, 2032. As astronomers gathered more observations, the impact probability briefly climbed to around 3%—the highest ever recorded for an asteroid of its size—before steadily falling as its orbit became better understood. By early 2025, international observations had ruled out any significant risk to Earth. However, astronomers were left with another possibility: a roughly 4% chance that the asteroid could instead strike the Moon. "The probability that asteroid 2024 YR4 will strike the Moon on 22 December 2032 is now approximately 4%," the European Space Agency (ESA) had said last year, noting that "there is a 96% chance that the asteroid will not impact the Moon." ESA said such an impact, while unlikely, would have presented an extraordinary scientific opportunity. "It is a very rare event for an asteroid this large to impact the Moon – and it is rarer still that we know about it in advance. The impact would likely be visible from Earth, and so scientists will be very excited by the prospect of observing and analysing it," said Richard Moissl, Head of ESA's Planetary Defence Office. "It would certainly leave a new crater on the surface. However, we wouldn't be able to accurately predict in advance how much material would be thrown into space, or whether any would reach Earth," he added. The asteroid also exposed an important blind spot in planetary defence. Because 2024 YR4 approached Earth from the direction of the Sun, it remained hidden from ground-based telescopes until after its closest approach. "We looked into how Neomir would have performed in this situation, and the simulations surprised even us," Moissl said. "Neomir would have detected asteroid 2024 YR4 about a month earlier than ground-based telescopes did. This would have given astronomers more time to study the asteroid's trajectory and allowed them to much sooner rule out any chance of Earth impact in 2032." He added, "As an infrared telescope, like Webb, Neomir would have also immediately given us a much better estimate for the asteroid's size, which is very important for assessing the significance of the hazard." The latest NASA observations underscore the value of space-based infrared telescopes in tracking faint asteroids. According to NASA, Webb made "among the faintest ever observations of an asteroid," extending the object's observational record by nearly eight months at a time when it had become too faint for other telescopes. That additional data allowed scientists to eliminate the remaining uncertainty surrounding its 2032 flyby. Although asteroid 2024 YR4 is now confirmed to pose no threat to either Earth or the Moon, scientists say its discovery remains one of the most significant real-world tests of the international planetary defence system, demonstrating how continued observations can rapidly transform an object once considered hazardous into one whose future path is known with high confidence. Source: NASA, ESA This article was generated with some help from AI and reviewed by an editor. Under Section 107 of the Copyright Act 1976, this material is used for the purpose of news reporting. Fair use is a use permitted by copyright statute that might otherwise be infringing.
    • Yup. Google is just scraping the entire internet for their own ad profits without sharing revenue with the sources. It's obviously stealing, but since these sites depend upon Google's search scraps to survive... As for me, I just stopped using Google for anything except Reddit searches. If Reddit's own search wasn't complete crapola, I'd never use Google search again.
    • I had a feeling this was coming. Picked up my first Mac ever last Saturday. Glad I did.
    • In a major surprise there is actually some good deals for the first time in years. At least for me.
  • Recent Achievements

    • Conversation Starter
      Admir earned a badge
      Conversation Starter
    • First Post
      The_Focal_Point earned a badge
      First Post
    • Apprentice
      daryld went up a rank
      Apprentice
    • Contributor
      Carltonbar went up a rank
      Contributor
    • One Month Later
      The_Focal_Point earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      419
    2. 2
      +Edouard
      170
    3. 3
      PsYcHoKiLLa
      130
    4. 4
      Xenon
      69
    5. 5
      neufuse
      69
  • Tell a friend

    Love Neowin? Tell a friend!