Formview itemupdating e newvalues Datingebony
the business object) since it's null in the On Item Inserting and On Item Updating events.I tried all kinds of things to get hold of the business object but nothing seems to work. I'm using Object Datasource in combination with a Formview. I have a business object property which I can't update through the normal binding since it's a custom enum type.You can also start a new thread here if it is not answered there. But even though the Conflict Detection is set to Compare All Values, it only compares the datakey, which is why it worked.I tried clicking Edit, then went behind the scenes (via SQL Server Studio) and changed the Security Description to a different value.I used this example because it is the simplest one with only 3 fields. and fields in Data Key Names will automatically provide these parameters for you along with relevant "original_filedname" value so you don't have to add extra Parameters. I'm still getting the same message regarding the empty dictionary.
You have specified that your update command compares all values on Sql Data Source 'sds Roles Row', but the dictionary passed in for old Values is empty.
Even though Compare All Values is set, it deleted the record when it shouldn't have. Update: In the Item Updating event, I created a manual Update query as follows: This also works well as above, except that I have to set e.