[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">
        <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" />
    Last edited by Daniil; Mar 21, 2012 at 8:42 AM. Reason: [CLOSED]
  2. #2
    I tested with latest code and all works correctly
    Please update from SVN and retest
  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
  5. #5
    I typed '04111976'. The date is in brazilian portuguese format (dd/MM/yyyy)

    04 = day
    11 = month (november)

    Attachment 3972
  6. #6
    Please note that AltFormats should use .NET date specifiers (like Format property)
    Therefore AltFormats should contain the following format
  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, 11:47 AM
  2. Replies: 3
    Last Post: Mar 26, 2012, 1:43 PM
  3. Replies: 3
    Last Post: Mar 19, 2012, 12:35 PM
  4. Replies: 2
    Last Post: Mar 16, 2012, 7:09 PM
  5. [CLOSED] Ext.net v2 Beta release: Top align donĀ“t works
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 16, 2012, 5:53 PM

Posting Permissions