laptop and a wrench

Bug

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.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM037336
SubmittedAugust 8, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.3
Program languageC#
Version FixedN/A
StatusFixed

Workaround

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));

Steps to Reproduce

Bug ID: NIM037336

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options