SelectionChanged event is fired twice and also fired when selection doesn't change.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM001172
已提交
February 17, 2006
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.0
修正版本
9.2
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
This happens only the first time the feature selection is done and here is the reason why this happens:Map has two types of selections - Feature Selection and Graphic SelectionThe first time you select a feature, map first replacec the Graphic Selection with Feature Selection as its active selection - this is when it first fires the evern saying selection changed. Then it actually replaces the feature selection with the new selection. Once the Graphic selection is replaced by the feature selection, it no more fires this events twice. For 9x this is a known limit.