Hi All,
Does anyone know how I make the WebDate Chooser to show Hours and minutes?
So for example when you choose a date, it will show you the date but also Hours and minutes, which the user can edit manually.
DateTime format in the WebDateChooser after choosing a date say 2nf of february will show:
02/02/2010 10:00
I tried to change using :
Chooser_StartDate.Format = Infragistics.WebUI.WebSchedule.DateFormat.Short;
System.Globalization.
CultureInfo c = new System.Globalization.CultureInfo("en-US");
c.DateTimeFormat.DateSeparator =
"/";
c.DateTimeFormat.TimeSeparator =
":";
c.DateTimeFormat.ShortDatePattern =
"MM/dd/yyyy"; //'-'HH':'mm
c.DateTimeFormat.ShortTimePattern =
"HH:mm";
Chooser_StartDate.CalendarLayout.Culture = c;
But this didnt work....
Thanks.
Yoni.
Hi Yoni,
WebDateChooser can support only 3 fields: day, month, year. Not less no more. In order to have different fields, you may consider to use WebDateTimeEditor.