Hi,
I have an AutoCompleteBox control as part of the insert template for RadDataForm. My AutoCompleteBox SelectedItem is bound to a navigation property (EF 5 Model/WCF Data Services).The AutoCompleteBox works fine in ReadOnly and Edit mode, but once I insert a new record, all my controls would bind properly except the AutoCompleteBox. I know that this due to the fact that the record navigation property needs to be loaded through DataServiceContext.LoadProperty, but i do not know the event handler in which to call this method.I tried calling this method in the RadDataForm CurrentItemChanged, but that did not help .My understanding is that the form will switch to ReadOnly mode after inserting a record.
Regards,
Madani
I have an AutoCompleteBox control as part of the insert template for RadDataForm. My AutoCompleteBox SelectedItem is bound to a navigation property (EF 5 Model/WCF Data Services).The AutoCompleteBox works fine in ReadOnly and Edit mode, but once I insert a new record, all my controls would bind properly except the AutoCompleteBox. I know that this due to the fact that the record navigation property needs to be loaded through DataServiceContext.LoadProperty, but i do not know the event handler in which to call this method.I tried calling this method in the RadDataForm CurrentItemChanged, but that did not help .My understanding is that the form will switch to ReadOnly mode after inserting a record.
Regards,
Madani