Completed
Last Updated: 03 Aug 2015 10:32 by ADMIN
ADMIN
Dimitar
Created on: 13 Jul 2015 08:39
Category: GridView
Type: Bug Report
0
FIX. RadGridView - when DateTimePickerSpinMode is used with the Office2010Blue theme exception occurs.
To reproduce:
- Add GridViewDateTimeColumn.
- Set the editor properties:
private void radGridView_VehicleAbsenceTime_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
    RadDateTimeEditor lEditor = radGridView_VehicleAbsenceTime.ActiveEditor as RadDateTimeEditor;
    if (lEditor != null)
    {
        RadDateTimeEditorElement editorElement = (RadDateTimeEditorElement)lEditor.EditorElement;
        editorElement.Format = DateTimePickerFormat.Custom;
        editorElement.CustomFormat = "dd.MM.yyyy HH:mm";
        editorElement.ShowUpDown = true;
    }
}
- Start the application scroll to the bottom and start editing.
0 comments