Hi,
I followed an example i found on this forum with this code:
This code are inserted into the event CellBeginEdit.
The problem is when i'm editing the cell. Since i have bounded this grid to a datasource i expect the value (Time) from the datasource to show up in this cell when i'm editing as well as when i'm not editing it.
But instead of showing the value, the value presented is 00:00:00.
The second question is, how can i modify this editorElement to only show hh:mm (ex. 11:30) when editing?
Regards
Svein Thomas
I followed an example i found on this forum with this code:
RadDateTimeEditor editor = this.radGridView1.ActiveEditor as RadDateTimeEditor;
if (editor != null)
{
RadDateTimeEditorElement editorElement = (RadDateTimeEditorElement)editor.EditorElement;
editorElement.ShowUpDown = true;
}
This code are inserted into the event CellBeginEdit.
The problem is when i'm editing the cell. Since i have bounded this grid to a datasource i expect the value (Time) from the datasource to show up in this cell when i'm editing as well as when i'm not editing it.
But instead of showing the value, the value presented is 00:00:00.
The second question is, how can i modify this editorElement to only show hh:mm (ex. 11:30) when editing?
Regards
Svein Thomas