If zoom in/out tools were used on the map control, data is zoomed in/out when user right click on the map. This is not a desired behavior if a context menu is used in the web application, because map zooms in/out and then the context menu appears.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM037336
已提交
August 8, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.3
编程语言
C#
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Override the _onClick function of MapBase by adding the following script block after the form close tag (</form>):<script type="text/javascript">ESRI.ADF.UI.MapBase.prototype._onClick = function(s,e){}</script> Normally you should be able to remove the event handler explicitly... but I was unable to do this. Likely because the delegate to the handler was created dynamically in MapBase initialize:this.add_click(Function.createDelegate(this, this._onClick));