GRISSA
Oct 26, 2016, 11:06 AM
Hi,
I try to display DatePickerField in a specific format (d/m/Y like 26/10/2016), but nothing is changed (still display : 10/26/2016).
Code :
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET Mobile Example</title>
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server">
<Items>
<ext:FormPanel ID="basicform" runat="server">
<Items>
<ext:DatePickerField
runat="server"
DestroyPickerOnHide="true"
Name="date"
Label="Start Date"
DateFormat="d/m/Y">
<Picker runat="server" YearFrom="1990" DateValue="01/01/2016" />
</ext:DatePickerField>
</Items>
</ext:FormPanel>
</Items>
</ext:Viewport>
</body>
</html>
Thanks.
I try to display DatePickerField in a specific format (d/m/Y like 26/10/2016), but nothing is changed (still display : 10/26/2016).
Code :
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Ext.NET Mobile Example</title>
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server">
<Items>
<ext:FormPanel ID="basicform" runat="server">
<Items>
<ext:DatePickerField
runat="server"
DestroyPickerOnHide="true"
Name="date"
Label="Start Date"
DateFormat="d/m/Y">
<Picker runat="server" YearFrom="1990" DateValue="01/01/2016" />
</ext:DatePickerField>
</Items>
</ext:FormPanel>
</Items>
</ext:Viewport>
</body>
</html>
Thanks.