Listview refresh after managedoperation execution

StatusIDPriorityType
Closed34694CriticalQuestion
Profile Reply
niemimik Client

Hi!

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?

-mikko

Attached files:

Replies

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.

Regards,
Mariya
On behalf of Xafari Client Services Team

× This ticket is closed.

Write US