5 Answers, 1 is accepted
You can use ChildrenOfType<DataFormDataField>(). It is an extension method to DependencyObject and it is located in the Telerik.Windows.Controls namespace, Telerik.Windows.Controls assembly.Greetings,
the Telerik team
I tried this, but without any success:
Test is null! why?
Is this ComboBoxFileld defined in the EditTemplate? If so, it is not yet loaded at this point. Try invoking the retrieving logic through a dispatcher.Regards,
it is loaded, because i try to get this Field on EditEnded of my DataForm. I Change the item in the
combobox and press OK in my DataForm. Than i try to get this Field, but it is null, what ever
Ok i think i have the Problem. If i use the same Template for "ReadOnlyTemplate" and "EditTemplate", it
works fine. But if i use a different Template for Editmode the Field is null.
Can you please send us a sample project that illustrates your scenario? We will debug it and send you a modified version back.Regards,