My requrement is to show map info (e.g.city name, street name) by right clicking on the map.
is it possible to use web method to do this? call upon a function on the server side to get the feature, when right click on the map is detected on the client side..
In Desktop Edition, it is hardly to determine the server side and client side, it is on the same sideJ.
You can implement your code like this: //Hook up the event. winformsMap1.MapClick += new EventHandler<MapClickWinformsMapEventArgs>(winformsMap1_MapClick);
void winformsMap1_MapClick(object sender, MapClickWinformsMapEventArgs e) { if (e.MouseButton == MapMouseButton.Right) { // do you stuff here. System.Diagnostics.Debug.WriteLine("RightClick"); } }