How to add marker at a place where user click.
See the AddClickEvent.aspx.cs sample
But this below function doesn't invoke..,I have tried this by inserting breakpoint..,can u suggest me loophole
protected void Map1_InfoTool(object sender, InfoToolEventArgs ee)
Make sure that the Map.InfoTool event is added in the Properties window or directly in the aspx file, and Map.MapTool is set to Info.
both option are set...,still its nt even invoke
Post all of your code (aspx and .cs)
its done..,thanx bro
actually the problem is that the method that load layers..,has ( l_map.MapTool = MapTool.Pan;) set..,that why its doesn't go to click event..,
i just have to change it to l_map.MapTool = MapTool.Info;
nd it works ..:)