Select to view content in your preferred language

FeatureLayer arbitrarily selects features when using OnDemand mode

998
3
09-06-2011 09:40 AM
NathanielWingfield
Deactivated User
I have a simple point feature layer. When using the following properties:

    Mode = FeatureLayer.QueryMode.OnDemand;
    OnDemandCacheSize = 0;

...a point gets selected (typically topmost in the associated FeatureDataGrid) after most pan or zoom operations. This interacts with the "Auto Zoom to Selected" option to create a genuinely frustrating user experience.

I wrote an event handler for Map.ExtentChanged to deselect any rogue points, but no points are selected at the time this event fires. Any suggestions would be appreciated.
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
Thank you for your feedback. This is a known issue in the DataGrid, we have this bug logged with Nimbus ID# NIM072308
0 Kudos
NathanielWingfield
Deactivated User
Thank you for your feedback. This is a known issue in the DataGrid, we have this bug logged with Nimbus ID# NIM072308


Do you have a URL for that bug? Is there a workaround?
0 Kudos
JenniferNery
Esri Regular Contributor
I don't know of any workaround at the moment, but you can download FeatureDataGrid source from CodePlex http://esrisilverlight.codeplex.com/. The issue seems to be at the Silverlight DataGrid.

If you contact support and provide them that Nimbus number, you can get more information about the bug and/or request them to make it publicly visible.
0 Kudos