[CLOSED] How to Set Date Format in a Coolite Date Field

  1. #1

    [CLOSED] How to Set Date Format in a Coolite Date Field

    Hi Team:

    I want to set Date Format based on culture for a coolite Date Field. for e.g:

    <ext:DateField ID="dt_etd" Cls="edit-form-manitatory" runat="server" Vtype="daterange" FieldLabel="To" Width="95" Format="dd.MM.yyyy">
    </ext:DateField>
    when i choose date from the picker it shows the date in "MM/dd/yyyy" format. how to solve this. I am using Coolite 0.8 version.

    pls. help..............
    Last edited by Daniil; Dec 02, 2010 at 8:53 AM. Reason: [CLOSED]
  2. #2
    Hi,

    It appears to be working as expected. Could you provide a full sample to reproduce?

    Like this one:

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" 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>Coolite 0.8.X Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ScriptManager runat="server" />
        <ext:DateField runat="server" Format="dd.MM.yyyy" />
        </form>
    </body>
    </html>
  3. #3

    How to Set Date Format in a Coolite Date Field

    Hi Daniil:

    It works fine, i just made a custom datefield and tried with it.


    Thanks.

Similar Threads

  1. Replies: 3
    Last Post: May 09, 2012, 4:28 PM
  2. Replies: 1
    Last Post: Apr 13, 2012, 1:52 PM
  3. Replies: 4
    Last Post: Jun 30, 2011, 3:30 PM
  4. [CLOSED] Displaying Todays date in Date field
    By Vasudhaika in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Feb 22, 2011, 10:38 AM
  5. date format for all date fields in grid?
    By marcmvc in forum 1.x Help
    Replies: 0
    Last Post: Dec 01, 2009, 3:41 PM

Posting Permissions