[CLOSED] [1.1] TimeField

  1. #1

    [CLOSED] [1.1] TimeField

    Hello,

    Having a small problem with the TimeField control, when I use the following code below with a custom format property it will not bind?

                                            <ext:TimeField runat="server"
                                                AllowBlank="false"
                                                AutoDataBind="true"
                                                Format="H:i"
                                                Increment="30"
                                                SelectedTime='<%# new TimeSpan(12, 0, 0) %>'
                                                Width="80" />
    However, if I remove the Format="H:i" it will select 12:00 pm.

    Any suggestions? I need 24 hour clock.

    Cheers
    Last edited by Daniil; Aug 02, 2011 at 1:55 PM. Reason: [CLOSED]
  2. #2
    Hi,

    You have to use .NET format specifier
    http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx

    So, i gues it should be
    HH:mm

Similar Threads

  1. [CLOSED] [1.0] TimeField Validation
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 08, 2011, 6:02 PM
  2. [CLOSED] TimeField
    By armadalabs in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jun 22, 2010, 2:44 PM
  3. [CLOSED] [1.0] IE6 - TimeField does not appear
    By macap in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 08, 2010, 7:28 AM
  4. [CLOSED] [0.8.3] TimeField Bug
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 05, 2010, 3:31 PM
  5. [CLOSED] TimeField Trigger
    By Ben in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Jan 11, 2010, 10:05 AM

Posting Permissions