Completed
Last Updated: 29 Mar 2021 05:48 by ADMIN
Release LIB 2021.1.329 (29/03/2021)

Setting the Content property of DataFormDataField in the AutoGeneratingField event handler doesn't take any effect. The value should be displayed in the editor area of the data field.

Use manually defined data fields or use a dispatcher in the AutoGeneratingField event handler in order to delay the Content setting.

Completed
Last Updated: 15 Feb 2021 07:54 by ADMIN
Release LIB 2021.1.215 (2/15/2021)

Setting the Content property of DataFormDataField doesn't take any effect. The value should be displayed in the editor are of the data field.

To work this around, you can use a custom data field.

public class CustomDataFormDataField : DataFormDataField
{
	protected override Control GetControl()
	{
		if (this.Content != null)
		{
			return this.Content as Control;
		}
		return base.GetControl();
	}
}

Completed
Last Updated: 04 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. 
Completed
Last Updated: 06 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: 20 Mar 2018 16:23 by ADMIN
// Telerik.Windows.Controls.RadDataForm
private void OnCurrentItemPropertyChanged(object sender, PropertyChangedEventArgs e)
{
	if (sender != null)
	{

// this causes the exception when called from non-UI thread
// use Dispatcher.Invoke

		this.IsItemChanged = true;
	}


Available in LIB version: 2017.2.529
Completed
Last Updated: 13 Oct 2016 06:53 by Roar
ADMIN
Created by: Stefan Nenchev
Comments: 1
Category: DataForm
Type: Bug Report
1

			
Completed
Last Updated: 10 Jun 2016 08:34 by ADMIN
Allow the DataFormValidationSummary control to be used outside the context of RadDataForm.
Completed
Last Updated: 01 Sep 2021 11:02 by ADMIN
Completed
Last Updated: 12 Aug 2015 13:54 by ADMIN
Completed
Last Updated: 24 Apr 2015 14:08 by ADMIN
Completed
Last Updated: 20 Oct 2014 17:01 by Ron Frick
Resolved with LIB version 2014.1.602.
Completed
Last Updated: 21 Mar 2014 12:24 by ADMIN
ADMIN
Created by: Dimitrina
Comments: 0
Category: DataForm
Type: Feature Request
0
Fixed with LIB version 2014.1.0324.