We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Dateformat in Template

Thread ID:

Created:

Updated:

Platform:

Replies:

131701 Jul 24,2017 07:33 AM Jul 25,2017 03:30 PM ASP.NET Web Forms 1
loading
Tags: ListView
Carsten Wuttke
Asked On July 24, 2017 07:34 AM

Hi,I have a ListView with a template. The work together easyly. in the DB I have a DateTime-Field. Now I wanna show the user in the Listview (over the Template) the content of the DateTime-Field. But I only a formated date. And I need to save Date and time to the DB. How can I achieve for example the format "dd.MM.yyyy" (as I am german ;-)) best would be within the templateFYI:I'm working on 15.1.0.33 with EF 6 on VS2015.Thanks in advance.Greetz,Carsten

Arun Palaniyandi [Syncfusion]
Replied On July 25, 2017 03:30 PM

Hi Carsten, 
  
  
Thanks for contacting Syncfusion support. 
  
  
We have made a sample for your requirement by using our DatePicker control for achieving date Format and your German locale support in Listview template. Here we have used Listview template and overridden ejDatePicker CSS in sample level.  Please find the sample in below link for your reference, 
  
 
  
Also check the shared sample, information and if the shared details still doesn’t meet your requirement, please let us know, so that we will provide an alternate solution.         
         
Regards,         
Arun P.      


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;