Select to view content in your preferred language

Working with behavior and silverlight controls

782
1
12-30-2011 02:19 AM
ankitabhatia1
Emerging Contributor
I called a behavior from silverlight application using "ScriptObject" and invoked a method with Geometry as the argument to the method invoked.
The problem is I am unable to pass any ESRI object in this way.
Can anyone please suggest a way to do it?
0 Kudos
1 Reply
ankitabhatia1
Emerging Contributor
I am not sure why I could not find a reply still.
May be the scenerio is not clear, which I would re-explain below:
I am using a page with 3 webparts, 2 silverlight and one Arcgis map webpart.
The issue I am facing is, I cannot pass the Extent using MapApplication.Current.Map.Extent or Extent object to the silverlight webpart neither can I pass Extent/Spatial Reference object from silverlight to Map.
Passing a string though works fine from silverlight to behavior on Map using Script object and Invoke method(for a scriptable member).
0 Kudos