Parent Id is not in Child table when saving child table in MasterDetailRelation #5390
-
For some reason the Parent Id is missing when saving the child table and I can't seem to figure out why? I am using .Net 5 if it matters or had changed. I had to create the ChildEditor as Sergen did not create it by default. I did similar on another project using asp.net 3.1 but not sure why this does not work. Anyone can help me figure out why the ParentId does not get populated on save in the Child table? The parent table setup is like this
In the xyzParentForm.cs
The Child Table is like this
My Child editor I had to create
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ok NVM. The default Sergen doesn't create xyzTableEditor and xyzTableEditorDialog for whatever reason. You have to create the two files. In The xyzTableEditor you have to make sure it opens the xyzTableEditorDialog. xyzChildEditorDialog.ts File
In the xyzChildEditor.ts
|
Beta Was this translation helpful? Give feedback.
Ok NVM.
The default Sergen doesn't create xyzTableEditor and xyzTableEditorDialog for whatever reason. You have to create the two files. In The xyzTableEditor you have to make sure it opens the xyzTableEditorDialog.
xyzChildEditorDialog.ts File