Select to view content in your preferred language

Detecting selection event on a FeatureLayer when using Editor Widget

2185
1
03-08-2013 05:23 AM
EduardoCarmona
New Contributor
I'm trying to find a way to detect the event of  feature selection within a FeatureLayer but i don't find it, i have to detect which feature has been selected first for a selection of two features, the final user is executing the selection of features using the Editor Widget on a Runtime Application.

Is there any "onSelect" event or something like that which can help me? I have searched and nothing.

Best Regards,

Abraham Saad
0 Kudos
1 Reply
KerrieScholefield
Deactivated User
Hi,

This has been discussed in the following forum post:

http://forums.arcgis.com/threads/43361-Being-notified-when-a-selection-was-just-made?highlight=edito...


The recommended approach is to attach a method to the OnEditCompleted() event in the ESRI.ArcGIS.Client.Editor class. You can check that the user finishes selecting the features and then get the SelectedGraphics collection.

Cheers,

Kerrie
0 Kudos