[FIXED] [#175] [1.x] DateField using Format dd MMMM yyyy with locale vi-vn

Page 1 of 2 12 LastLast
  1. #1

    [FIXED] [#175] [1.x] DateField using Format dd MMMM yyyy with locale vi-vn

    Hi,

    I have a datefield. I set its format to dd MMMM yyyy. The locale is vi-vn. I select a date but the selected date is MinDate. Could you please help me how to make it work?

    Thanks in advance.

    <%@ Page Language="C#" %>
    
    <script runat="server">
        protected void Button1_Click(object sender, DirectEventArgs e)
        {
            X.Msg.Notify("Message", this.date.SelectedDate.ToShortDateString()).Show();
        }
    </script>
    
    
    <!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>Ext.NET Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" Locale="vi-vn" />
            
            <a href="http://www.ext.net/"><img src="http://speed.ext.net/identity/extnet-logo-small.png" /></a>
    
    
            <ext:Window 
                ID="Window1"
                runat="server" 
                Title="Welcome to Ext.NET 1"
                Padding="5"
                Height="215"
                Width="350"
                Layout="FormLayout"
                DefaultAnchor="100%">
                <Items>
                    <ext:DateField runat="server" ID="date" Format="dd MMMM yyyy"></ext:DateField>
                </Items>
                <Buttons>
                    <ext:Button ID="Button1" runat="server" Text="Submit" OnDirectClick="Button1_Click" />
                </Buttons>
            </ext:Window>
        </form>
    </body>
    </html>
    Last edited by fabricio.murta; Apr 26, 2016 at 10:45 PM.
  2. #2
  3. #3
    Attached Thumbnails Click image for larger version. 

Name:	3-15-2013 9-30-12 AM.png 
Views:	48 
Size:	10.8 KB 
ID:	5827  
  4. #4
    Last edited by Daniil; Mar 15, 2013 at 4:25 AM.
  5. #5
  6. #6
    Good.

    Unfortunately, there is another problem. Are you able to select any date from a non-current month (after that do blur)?
  7. #7
    Last edited by Daniil; Mar 15, 2013 at 6:06 PM.
  8. #8
    Quote Originally Posted by Daniil View Post
    Unfortunately, there is another problem. Are you able to select any date from a non-current month (after that do blur)?
    Sencha opened a bug in ExtJS (it is a base of Ext.NET v2).

    Created an Issue to monitor this defect.
    https://github.com/extnet/Ext.NET/issues/175
  9. #9
    Quote Originally Posted by Daniil View Post
    Good.

    Unfortunately, there is another problem. Are you able to select any date from a non-current month (after that do blur)?
    Hi Daniil, may I know if there is any update on this problem? I am using v2.3 but still having the same problem with Chinese locale (cannot change the month using the datepicker of datefield)

    Thanks.
  10. #10
    Unfortunately, Sencha has not fixed it yet.
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: Jan 30, 2015, 1:05 PM
  2. [CLOSED] DateField using Format dd MMMM yyyy with locale ru-RU
    By mohan.bizbites in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 20, 2013, 5:32 AM
  3. [FIXED] [#161] Problem DateField MM/yyyy
    By DanielU in forum Bugs
    Replies: 7
    Last Post: May 31, 2013, 3:41 AM
  4. Replies: 1
    Last Post: Dec 15, 2011, 12:38 AM
  5. Replies: 8
    Last Post: Jun 06, 2008, 1:28 AM

Posting Permissions