DateField - SelectedDate problem

  1. #1

    DateField - SelectedDate problem

    Hi all, i am having troubles with a datefield...

    When the application will saving the data from the form the SelectedDate returns #12:00:00 AM# and not the date selected...


    The field datefile on the form:


                       <ext:Anchor Horizontal="95%">
                       <ext:DateField runat="server" id="txtConfirmado"  Vtype="daterange" FieldLabel="Data confirmada do agendamento" AllowBlank="false" BlankText="Campo 'Data confirmada' obrigatório." Format="d/m/Y" />
                       </ext:Anchor>

    Any idea ???











  2. #2

    RE: DateField - SelectedDate problem

    Hi,

    You need to use correct .NET date format
    http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx
  3. #3

    RE: DateField - SelectedDate problem

    in the Format property ???

    Format = "dd/MM/yyyy"


    ???


    Tks





  4. #4

    RE: DateField - SelectedDate problem

    Ok, resolved...

    Is in the Format property....


    Tks for the response....

Similar Threads

  1. [CLOSED] SelectedDate property gives blank date
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Dec 17, 2010, 12:17 PM
  2. [CLOSED] SelectedDate not working when setting culture
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 24, 2009, 10:54 AM
  3. Replies: 4
    Last Post: Mar 18, 2009, 3:43 AM
  4. Replies: 3
    Last Post: Mar 17, 2009, 9:42 AM
  5. [CLOSED] Get SelectedDate in DateField
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 16, 2008, 6:13 AM

Posting Permissions