Unable to handle 'ActiveToolChangedEvent'
Hi,
I am trying to capture the tool click event using 'ActiveToolChangedEvent' from the workflow but not able to achieve. But on the other hand we are able to capture 'MapExtentChangedEvent' without any issue! Only problem is, when it comes to 'ActiveToolChangedEvent' it is throwing below exception.
Unable to setup listener for event 'ActiveToolChangedEvent'.
Geocortex.EssentialsSilverlightViewer.Infrastructure.Exceptions.CriticalViewerException: Unable to setup listener for event 'ActiveToolChangedEvent'. ---> System.InvalidOperationException: Named event ActiveToolChangedEvent does not exist.
at Geocortex.EssentialsSilverlightViewer.Infrastructure.Events.EventRegistry.Subscribe(String eventName, Action`1 handler)
at Geocortex.EssentialsSilverlightViewer.CoreModules.Workflow.ActivityTypeHandlers.ListenForExternalEvent(ActivityContext context)
Could any one have ever faced this kind of issue and have a work around?
Thanks and Regards,
~Paul
-
Hi Paul,
i am facing the same problem , did you find a way around it ?
Thanks
Mazen
0 -
Just wondering I if anyone has found out any information about this post??
Jake
0 -
I would also love to know a solution. This error message seems to generate when trying to set up a listener for most of the external events; the MapExtentChangingEvent works fine. Anyone have success with ActiveToolChangedEvent or other events?
Thanks
Keith
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
3 Kommentare