Adding DatePickers and TimePickers (Windows Store apps using JavaScript and HTML)

1 out of 3 rated this helpful - Rate this topic

Use DatePickers or TimePickers when you want to let users select dates or times.

In this section

TopicDescription

Quickstart: Adding a DatePicker

If you need to allow users to set a date in your application, for example to schedule an appointment or set the expiration date on a credit card, you can use a DatePicker, which is a part of the Windows Library for JavaScript. The DatePicker displays three controls for month, date, and year. These controls are easy to use with touch support, and they can be styled and configured in several different ways.

Quickstart: Adding a TimePicker

If you need to allow users to select a time in your application, for example to schedule a meeting or a reminder, you can use a TimePicker, which is a part of the Windows Library for JavaScript. The TimePicker displays three controls: one for the hour, one for the minute, and one to choose between AM and PM. These controls are easy to use with touch support, and they can be styled and configured in several different ways.

Guidelines for DatePickers

This topic describes best practices for using the Windows Library for JavaScript DatePicker control. For more information about adding a DatePicker to your app, see Quickstart: Adding a DatePicker.

Guidelines for TimePickers

This topic describes best practices for using the Windows Library for JavaScript TimePicker control. For more information about adding a TimePicker to your app, see Quickstart: Adding a TimePicker.

 

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.