Unplanned
Last Updated: 9 Aug 2016 08:44 by ADMIN
Unplanned
Last Updated: 15 Feb 2017 10:35 by ADMIN
Completed
Last Updated: 6 Sep 2019 11:42 by ADMIN
Release R3 2019
Created by: Enrico
Comments: 1
Category: DataForm
Type: Feature Request
0

Good Morning,

It would be nice to have the possibility to choose if use DateTimePicker or DatePicker during the 'AutoGeneratingField' event.

Something like:

if (e.PropertyType.Equals(typeof(DateTime)))
            {
                e.DateTimeMode = ...RadDataForm.DateTimeMode.OnlyDate, //(or .DateTime) 
            }

Because overriding the 'DataFormField' content with a RadDateTimePicker is a little bit intricate especially for the binding/reference losing.

The control is very helpful to make fast user forms prototipe but in this case it lose all its convenience. 

 

Thank you,

Best Regards,

Enrico 

Completed
Last Updated: 4 Feb 2021 06:14 by ADMIN
Release LIB 2021.1.208 (2/8/2021)
When using a field without a RadDataForm, an null reference exception is thrown when it is focused. 
1 2