RadDataForm update value programaticaly


#1

Hello everyone,

I’d like to ask if it is possible to update TextEditor field in RadDataForm programaticaly?

Let’s say I have 2 fields in a form
one is of type=“Picker”
another is simple Text field.

I’d like to update Text field depending on selected value from the field type=“Picker”

Unfortunately I couldn’t find anything in Demo/Documentation

Thanks!


#2

Hi

I’m using the propertyCommitted event of RadDataForm for similar scenario.

(propertyCommitted)=“dfPropertyCommitted($event)”

Not sure if there is any better way to do this.


#3

Hi,
Thanks for the answer…
I know about this event, but what are you doing next ?
I was trying the same, but it didn’t work.
How are you updating, could you provide an example ?


#4

Hi

Please see this link

https://www.telerik.com/forums/change-an-entity’s-value-based-on-the-value-of-another-entity
\https://www.telerik.com/forums/change-an-entity’s-value-based-on-the-value-of-another-entity


#5

Thanks,
I should have mentioned that I tried this method, but it breaks Converter of type="Picker" after updating source of DataForm.

Anyway thanks for answer.


#6

Ok, what do you mean by “it breaks converter of type=‘Picker’”? could you create project on playground with your scenario ?