We have a very specific requirement , where the user would like to enter Date in the RadGridView Cell which has editor of type RadDateTime Editor . In this cell the the user will be entering date in format MM/dd/YYYY and while entering the date the user should be allowed to continuously type the date without having to use the arrow keys to navigate between date, month and year. For example if user types a date like "02172013" the RadDateTimeEditor should automalically fill up the month portion (once "02" is typed) and then push the cursor to date portion when user types "17" and then push the cursor to year portion once user starts typing "2013" and finally dispaly the date as "02/17/2013"
1)User has to use the arrow key to move from month section to date then again he need use arrow keys to move from date to year, as expalined above this should not be required.
2)When we click on the cell having RadDateTime Editor and tabs out of the cell then the date cell gets populated with current date . Expected behaviour is if user has not entered/selected any date then it should default to blank.
Please let me know if such a thing is possible using RadDateTimeEditor ? or I need to use some other editor ?
We are using the following code :
Sub RadGridView_EditorRequired(ByVal sender As Object, ByVal e As EditorRequiredEventArgs
Dim fieldType As String
e.Editor = GetEditor(fieldType)
Function GetEditor(fieldType As String) As
editorDate As RadDateTimeEditor = New RadDateTimeEditor
Dim calendar As RadDateTimeEditorElement = DirectCast(editorDate.EditorElement, RadDateTimeEditorElement