Select to view content in your preferred language

Before update event for feature layer?

2132
1
07-02-2012 06:52 AM
EdwardSon
Emerging Contributor
I want to capture the event before a layer is updated back from the server (for any reason, such as user interaction, extent changed, etc.) to show a busy signal and turn off busy signal when update completed, b/c for some of the updates there is a delay of somewhat length, and I want to distinguish to the user a difference between no result and delayed result...
I see there is UpdateCompleted and UpdateFailed events, but there doesn't "appear" to be any for BeginUpdate or any such....
Is there a workaround?
Is there an event that can be leveraged?
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
There's no event that gets raised before Update() is called. If FeatureLayer is Mode=OnDemand, you can use Map.ExtentChanging event. If your app calls Update() explicitly, then you can show progress bar before this call.
0 Kudos