Drag and drop the newly inserted data does not trigger a business class insert #3332
Replies: 1 comment 3 replies
-
I don't know what a "CSLA DEV" component means. There are no real UI components that are part of CSLA. The CSLA base types don't usually trigger persistence (data portal calls) automatically. The only base type that does this is If you have a list of objects in a So I am going to assume you are using
Specifically, when the user starts editing a row, the data grid must call I assume that the items in your list include an "index" property that is used to keep the items in the correct order in the list. So when you drag-and-drop items to rearrange the order of the list, that the "index" properties of all objects in the list are adjusted to reflect the new ordering? That would mean triggering a save operation on the entire list, or on all the objects affected by the change to those index values. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hello Rockford Lhotka:
I have a question, I hope you help me to answer it
I have been use CSLA DEV components development, in the past years running is very good, the DEV form has a function can adjust the order, drag and drop the data
I found:
drag and drop a data of the original data, save the data triggered when CSLA business class BusinessBase delete and insert
if insert new drag and drop the data, will not trigger the CSLA business class BusinessBase any CRUD
why this happen?
I made a DEMO, repeat this kind of question, for BusinessBase CRUD with a breakpoint way to monitor
WpfApp1.zip
Beta Was this translation helpful? Give feedback.
All reactions