I have a problem when inserting a new record into a TreeList. I am using advanced OnNeedDataSource binding and manually inserting the record into our DB during the InsertCommand. After the insert command completes I get the following error:
"Property accessor '[PK and DataKeyName]' on object '[Object]' threw the following exception:'Object does not match target type.'"
I can't find any helpful documentation on this exception, is there any help that you may be able to give on this matter?