Listview refresh after managedoperation execution

Profile Reply
niemimik Client


I'm referring to ticket [33961].

We trying to refresh list on ManagedOperation_Finalized event. But we keep on getting Cross thread Error in every case When we use SyncManagedOperationHelper.CreateHelper methods...

ManagedOperation creates own ObjectSpace

Is there simple way avoid this?


Attached files:


User Description Posted On
MariyaVoytovich Agent

Hello niemimik!

You can use a Context Managed Business Operation instead of a Managed Operation (See Business Operations)
For Context-dependent Business Operations in Application Model exist AutoRefreshView property. AutoRefreshView specifies the mode of data refreshing. (See Business Operation in Application Model topic)

As an example, you can use "ChangeFreightContext" Business Operation from the Northwind.DC Demo installed with Xafari.

Feel free to contact us if you need further assistance or have additional questions.

On behalf of Xafari Client Services Team

× This ticket is closed.

Write US