[CLOSED] Ext.net v2 Beta release: DateField donĀ“t accepts input date.

  1. #1

    [CLOSED] Ext.net v2 Beta release: DateField don“t accepts input date.

    After update with Beta version, the datefield don“t accepts a typed input date...

    Please, fill the datefield with 04/11/1976 (dd/MM/yyyy), for example...

    This works fine in DP1.

    <%@ Page Language="vb"  %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <ext:ResourceManager ID="resManagerDividas" runat="server" Locale="pt-BR" />
        <form id="form1" runat="server">
        <ext:DateField runat="server" ID="dtDataCobranca" LabelAlign="Top" FieldLabel="Data de Cobranēa" AltFormats="d/m/Y|j/n/Y|j/n/y|j/m/y|d/n/y|j/m/Y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|d-m-Y"  Format="dd/MM/yyyy" X="415" Y="55" Width="120px" />
        </form>
    </body>
    </html>
    Last edited by Daniil; Mar 21, 2012 at 9:42 AM. Reason: [CLOSED]
  2. #2
    I tested with latest code and all works correctly
    Please update from SVN and retest
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Hi Vladimir...

    Don't works...

    1 - The problem occurs when I insert dates with keybord...
    2 - I insert dates in portuguese format (day-month-year)...
    3 - If I insert date in english format, works...
    4 - I wish, if possible, when I input date, the mask appears. Now, the date is format after control lost focus.

    Thanks for any help.
  4. #4
    Please post exactly string which you insert to the field
    Vladimir Shcheglov
    Sr. Developer
  5. #5
    I typed '04111976'. The date is in brazilian portuguese format (dd/MM/yyyy)

    04 = day
    11 = month (november)
    1976=year

    Attachment 3972
  6. #6
    Please note that AltFormats should use .NET date specifiers (like Format property)
    Therefore AltFormats should contain the following format
    ddMMyyyy
    Vladimir Shcheglov
    Sr. Developer
  7. #7
    Hi Vladimir!

    Works fine...

    Thanks a lot!

Similar Threads

  1. 2.x Beta Release 2
    By GKG4 in forum 2.x Help
    Replies: 4
    Last Post: May 11, 2012, 12:47 PM
  2. Replies: 3
    Last Post: Mar 26, 2012, 2:43 PM
  3. Replies: 3
    Last Post: Mar 19, 2012, 1:35 PM
  4. Replies: 2
    Last Post: Mar 16, 2012, 8:09 PM
  5. Replies: 2
    Last Post: Mar 16, 2012, 6:53 PM

Posting Permissions