POST
|
Get this error when I set the ProxyUrl: There was an error deserializing the object of type ESRI.ArcGIS.Client.Services.MapServiceInfo. Encountered unexpected character 'v'.
... View more
08-29-2011
07:12 AM
|
0
|
0
|
318
|
POST
|
We have a proxy, which when using ArgGIS Silverlight control, can talk to the server just fine. However, when using the WPF control, it gets Authentication failed error. Is there anyway to "plug" into the ArcGISTiledMapServiceLayer to manually set required values to pass our proxy server?
... View more
08-29-2011
06:59 AM
|
0
|
2
|
3138
|
POST
|
I have successfully made it bind, but cannot make the binding update. Currently GraphicsLayer binds this way:
Graphics="{Binding Source={StaticResource MappingSource}, Path=MappingItems, Mode=TwoWay, Converter={StaticResource mappingsConverter}}"
where the converter simply converts a list of view models to a GraphicsCollection object that Graphics expects. Binds fine the first time, but I cannot make the binding update through NotifyPropertyChanged event. My goal is to bind Graphic.Selected property to a property of a view model so I can toggle the Selected state through setting the view model property:
Binding binding = new Binding("Selected");
binding.Source = mappingItem;
binding.Mode = BindingMode.TwoWay;
BindingOperations.SetBinding(graphic, Graphic.SelectedProperty, binding);
That is; however, not happening. Neither can I make Graphics property rebind to the entire collection. Not sure if this is a limitation of Silverlight or the control itself. I expect this should work ok with WPF. Thank you.
... View more
08-29-2011
05:08 AM
|
0
|
0
|
442
|
POST
|
Marked as answered! Must be one of the differences between WPF and Silverlight having to make the data a resource in order to bind... Thank you!
... View more
08-25-2011
12:35 PM
|
0
|
0
|
442
|
POST
|
I am writing a POC to integrate with our current app, which builds on MVVM pattern. I'm trying to bind a collection of "Graphic" objects to either Graphics or GraphicsSource property of a GraphicsLayer. I am using Silverlight4 and that should allow DependencyProperties to allow binding in DependencyObjects as long as it is contained in a FrameworkElement, which in this case, is the Map object. However I am not having any success. I can; however, bind Layers to a collection of Layer objects and that'd trickle down, but I am hoping I can have better control and only bind where need be. Is this possible with your control? Or am I missing something? Thank you.
... View more
08-25-2011
09:23 AM
|
0
|
11
|
3003
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|