|
POST
|
If you want filter applied on FeatureDataGrid, you need to set its FilterSource property as Dominique suggested. I think you just need to add .ToList(). dataGrid.FilterSource = dataGrid.GraphicsLayer.Graphics.Where(g => g.Geometry.Extent.Intersects(map.Extent)).ToList();
... View more
02-01-2012
05:13 PM
|
0
|
0
|
1602
|
|
POST
|
I believe you can just set FeatureDataGrid.GraphicsLayer property. Your table as FeatureLayer does not need to be part of Map. FeatureDataGrid.Map also does not need to be set.
... View more
02-01-2012
05:08 PM
|
0
|
0
|
423
|
|
POST
|
Please see Post# 7 in this thread. When you customize controls using Blend, EditorWidgetStyle is added to your Grid.Resources. You can then tweak this as you wish.
... View more
02-01-2012
05:05 PM
|
0
|
0
|
532
|
|
POST
|
It's quite a long code to go through, can you be specific what "not working" means? You can monitor webrequests using Fiddler to see if there are any failure. Does map load fine? Features retrieved fine? What part of query fails? All that maybe answered when you have Fiddler on. You can also try setting breakpoints to check if your code is hit when expected.
... View more
02-01-2012
05:01 PM
|
0
|
0
|
602
|
|
POST
|
You can try the following: XAML:
<ComboBox x:Name="Selection">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}"/>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
Code-behind:
Selection.ItemsSource = new int[] { 1, 2, 3 };
Selection.SelectedItem = (int)g.Attributes["status"];
... View more
02-01-2012
04:55 PM
|
0
|
0
|
2007
|
|
POST
|
You can look at this SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid Code-behind (this can also be on GraphicsLayer_MouseLeftButtonDown):
private void FeatureLayer_MouseLeftButtonDown(object sender, GraphicMouseButtonEventArgs args)
{
args.Graphic.Selected = !args.Graphic.Selected;
if (args.Graphic.Selected)
MyDataGrid.ScrollIntoView(args.Graphic, null);
}
FeatureDataGrid.GraphicsLayer can be bound to a GraphicsLayer. It's fields will come from GraphicsLayer.Graphics.Attributes.
... View more
02-01-2012
04:49 PM
|
0
|
0
|
2247
|
|
POST
|
This seem related (see Post# 11): http://forums.arcgis.com/threads/21714-Editing-Tables-in-Feature-Service-with-Silverlight-4
... View more
02-01-2012
04:44 PM
|
0
|
0
|
442
|
|
POST
|
You can use FeatureDataForm too. This seems related: http://forums.arcgis.com/threads/21714-Editing-Tables-in-Feature-Service-with-Silverlight-4
... View more
02-01-2012
04:41 PM
|
0
|
0
|
1078
|
|
POST
|
API v3.0 Beta 2 is Silverlight 5, API v2.4 is Silverlight 4.
... View more
02-01-2012
04:31 PM
|
0
|
0
|
1396
|
|
POST
|
Change it to:
gpoly = featureLayer.Graphics.FirstOrDefault(gtt =>gtt.Attributes["LOCATION_ID"] != null && (int)gtt.Attributes["LOCATION_ID"] == 395);
or
gpoly = featureLayer.Graphics.FirstOrDefault(gtt =>(int?)gtt.Attributes["LOCATION_ID"] == 395);
since Attribute["LOCATION_ID"] can be null, it cannot cast to int. Also if the Key is not DisplayField, you need to include it in your FeatureLayer.OutFields.
... View more
01-27-2012
02:03 PM
|
0
|
0
|
671
|
|
POST
|
Credentials can be defined by the proxy administrator for both token and Windows/HTTP secured services. Source: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/02/15/How-to-use-secure-ArcGIS-Server-services.aspx. When you download ProxyPage, kindly see proxy.config file, there are examples there.
... View more
01-26-2012
05:19 PM
|
0
|
0
|
7905
|
|
POST
|
I'm not sure how you want to select your graphic, for simplicity, I've selected just the first graphic from this SDK sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#KmlLayerSimple
Dim l = TryCast(MyMap.Layers("KmlLayer"), KmlLayer)
Dim g = l.Graphics.FirstOrDefault()
Dim s = TryCast(g.Symbol, SimpleFillSymbol)
s.Fill.Opacity -= 0.3
... View more
01-26-2012
05:07 PM
|
0
|
0
|
1474
|
|
POST
|
This seem related thread: http://forums.arcgis.com/threads/28386-maxjsonlength-in-ArcGIS-REST-SOE. The error description you posted is the same as the bug description I see on our system. This thread say it's fixed in 10 SP3. If you are encountering the issues still, please post on that thread.
... View more
01-26-2012
04:47 PM
|
0
|
0
|
466
|
|
POST
|
You can post to RESThttp://forums.arcgis.com/forums/11-ArcGIS-Server-REST-API. I will also forward your question to ImageServer team.
... View more
01-26-2012
04:33 PM
|
0
|
0
|
1824
|
|
POST
|
Try debugging to your code to check if AttachmentEditor.FeatureLayer and AttachmentLayer.GraphicsSource get set properly. You can also check if the FeatureLayer..LayerInfo.HasAttachments is True. It could be that the service does not support attachments.
... View more
01-26-2012
04:29 PM
|
0
|
0
|
1934
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-10-2026 12:13 PM | |
| 1 | 09-11-2025 01:30 PM | |
| 1 | 06-06-2025 10:14 AM | |
| 1 | 03-17-2025 09:47 AM | |
| 1 | 07-24-2024 07:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
07-13-2026
09:07 AM
|