We are passing these
fields as regular dates from SQL, however telerik is converting them to Date
and Time stamp, which we do not want.
Please tell us a way to add 'Date' DataType to a field and not DateTime.
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 Aug 2017, 08:06 AM
Hello Rutuja,
Thank you for writing.
RadGridView uses GridViewDateTimeColumn for displaying dates. You may enter the date and time directly into the editor or drop down the calendar to choose a date. The FormatString property sets the format of the date when the date is not currently being edited. The CustomFormat property is used to format the date once the user clicks on the cell to invoke the editor. Thus, you can specify the desired format for displaying only the date part of the DateTime value. Additional information for the GridViewDateTimeColumn is available in the following help article: http://docs.telerik.com/devtools/winforms/gridview/columns/column-types/gridviewdatetimecolumn
I hope this information helps. Should you have further questions I would be glad to help.