Completed
Last Updated: 09 Oct 2014 10:21 by ADMIN
ADMIN
Stefan
Created on: 20 Sep 2012 03:39
Category: GridView
Type: Bug Report
1
FIX. RadGridView - the CustomFormat property of GridViewDateTimeColumn is not working for TimePickerEditor
Setting the custom format is not applied to the cell. To reproduce: 

   Dim customColumn As New GridViewDateTimeColumn()
        customColumn.Width = 200
        customColumn.Name = "custom"
        customColumn.EditorType = GridViewDateTimeEditorType.TimePicker
        customColumn.FormatString = "{0:HH:mm}"
        customColumn.Format = DateTimePickerFormat.Custom
        customColumn.CustomFormat = "HH:mm"
        RadGridView1.MasterTemplate.Columns.Add(customColumn)

        RadGridView1.Rows.Add(DateTime.Now)
0 comments