That is what the code is supposed to do! Not sure how you are seeing a alert
when the page loads/map loads for the first time?! The "MySelectionHandler"
method gets invoked only when a selection is changed on the map.
   Are we seeing the exact code what you are working with?

-Praveen


SriRam007 wrote:
> 
> thanks to both of u 
> 
> Now its working 
> 
> But now message is showing when the page loads for the first time 
> 
> Can i show the alert on every selection 
> 
> If 1st time i am selected the "1 features selected" 
> 2nd time ::  "2 features selected" and so on. 
> 
> 
> thanks 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Event-that-captures-mouse-action-tp3939442p4875406.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to