DateTimePicker

From Visual WebGui Wiki

Jump to: navigation, search



Contents

Overview

The DateTimePicker control is functionally equivialent to the Windows Forms DateTimePicker control.

Availability

The DateTimePicker is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.

SDK Version highlights

Cultural settings for DateTimePicker

When setting the Format property of the DateTimePicker to for instance Short, Cultural settings will decide what format will be used. In 6.3.x and earlier versions those cultural settings were taken from the web server's regional settings, not from the cultural settings in web.config or on the thread, making it necessary to set to Format to Custom and they specifically set the CustomFormat property.

In 6.4 this is all changed, as the thread settings for cultural info decide the meaning of formats like Short.

Tips and tricks

Using DateTimePicker for Time only entry

DateTimePicker.Format = DateTimePickerFormat.Time 
DateTimePicker.ShowUpDown = True

Rererences

Code samples

Forum discussons

Issue tracker

Other references


Personal tools