0

I'm creating an on the fly, in house website that's going to be used for a couple of days and then canned.

It would help so much if I could just use the Windows Form DateTimePicker object on my website!

I know that if I add a reference to System.Windows.Forms I can use MessageBox.Show and it works, is the same true for the DateTimePicker?

If I added a reference to System.Windows.Forms and then took the DateTimePicker designer code from my Windows form would this work?

Thanks

JMK
  • 27,273
  • 52
  • 163
  • 280
  • have you tried it? The last question you ask should be easy enough for you to figure out on your own. Ok snarkiness aside, I'm actually surprised that MessageBox.Show works. the compiler must jsut convert it to an alert for an asp.net application. My gut tells me that it won't do the same for the date picker, but you wont' know until you try ;) – Christopher Johnson Feb 09 '12 at 20:49

1 Answers1

0

You can take a look at this article. There are many JavaScript date time picker you can use as well.

Community
  • 1
  • 1
Sofian Hnaide
  • 2,284
  • 16
  • 13