select date in dd/MM/yyyy format

3 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 24 Aug 2009 Link to this post

    Hi 
        I have used Terlerik Rad Control Q2 2008 version.
        I have binded grid & set EditMode="InPlace"  property for grid,
        I have used 
        

    <

     

    telerik:GridDateTimeColumn DataField="DateObtained" DataFormatString="{0:dd/MM/yyyy}"

     

     

    HeaderText="Date Obtained" SortExpression="DateObtained" UniqueName="DateObtained">

     

     

    <ItemStyle Width="15%" />

     

     

    <HeaderStyle Width="20%" />

     

     

    </telerik:GridDateTimeColumn>

       At the time of editing I would like to select date in dd/MM/yyyy format . Right now it's showing in MM/dd/yyyy.

    Please give me your reply.

     

  2. Daniel
    Admin
    Daniel avatar
    4946 posts

    Posted 24 Aug 2009 Link to this post

    Hello Rahul,

    GridDateTimeColumn sets the date format according to your current culture. You can avoid this easily by using GridTemplateColumn and RadDateTimePicker. Otherwise you could set the DateFormat and/or the Culture in code-behind.

    Best regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Trung Nguyen
    Trung Nguyen avatar
    14 posts
    Member since:
    Jul 2009

    Posted 25 Aug 2009 Link to this post

    Chính xác phải thế này nè bạn ơi :D

    DataFormatString="{0:dd/MM/yyyy HH:mm}" 

Back to Top