|
POST
|
It's hard to tell where the problem is just by looking at your code. Could you try to follow the steps here to troubleshoot the WMS layer? http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx You might be able to see which web request failed in Fiddler or maybe subscribe to InitializationFailed event too.
... View more
02-04-2011
09:47 AM
|
0
|
0
|
2010
|
|
POST
|
Sure. You can customize the Navigation control template. Here's how: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize-the-look-and-feel-of-ArcGIS-controls.aspx
... View more
02-04-2011
07:30 AM
|
0
|
0
|
624
|
|
POST
|
Are you able to view layer information using your web browser? You might find this blog post useful too: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx
... View more
02-03-2011
01:01 PM
|
0
|
0
|
1567
|
|
POST
|
That error "exceeded record transfer limit" may be the reason why you are not getting features back. You can look at this help doc http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//000400000009000000.htm. It might be the MaximumRecords number you need to adjust.
... View more
02-03-2011
12:57 PM
|
0
|
0
|
3277
|
|
POST
|
Sure. Instead of setting Command property on the Button, you can add a Click event handler that will call DeleteSelected command.
private void DeleteButton_Click(object sender, RoutedEventArgs e)
{
var result = MessageBox.Show("Confirm delete?", "Delete", MessageBoxButton.OKCancel);
Editor editor = LayoutRoot.Resources["MyEditor"] as Editor;
if (result == MessageBoxResult.OK)
{
if (editor.DeleteSelected.CanExecute(null))
editor.DeleteSelected.Execute(null);
}
}
... View more
02-03-2011
12:16 PM
|
0
|
0
|
639
|
|
POST
|
Have you tried submitting job to your GPServer from your web browser? http://serverapps.esri.com/ArcGIS/rest/services/SamplesNET/USA_Data_ClipTools/GPServer/ClipCounties/submitJob Since you are already using Fiddler, you can run it with your application to get the input values (Kindly see attached) and then use the same input in your web browser, check to see if you still do not get anything back.
... View more
02-03-2011
10:59 AM
|
0
|
0
|
3277
|
|
POST
|
When you visit the FeatureLayer URL from your web browser, do you see coded values similar to this? http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/FeatureServer/2 If it is empty there too, then maybe the issue is with your service. I think these are the steps you do for creating a coded value domain: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_a_new_coded_value_domain/001s00000004000000/
... View more
02-03-2011
10:41 AM
|
0
|
0
|
853
|
|
POST
|
I am not sure if you are talking about setting up your service with coded value domain attribute correctly. If so, this might help: http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//0093000000r0000000.htm To know if you have set this up correctly, you can wire up to the FeatureLayer's Initialized event and check for the FeatureLayer's LayerInfo.Fields property. Each field will have these values: http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Field_properties.html
FeatureLayer l = sender as FeatureLayer;
foreach (var f in l.LayerInfo.Fields)
{
if (f.Domain is CodedValueDomain)
{
CodedValueDomain cvd = f.Domain as CodedValueDomain;
foreach (var item in cvd.CodedValues)
{
//TODO: check for item.Key and item.Value
}
}
}
... View more
02-03-2011
07:45 AM
|
0
|
0
|
853
|
|
POST
|
You have tried this workaround but it did not work? http://forums.arcgis.com/threads/18534-FlareClusterer-event-bug
... View more
02-02-2011
09:51 PM
|
0
|
0
|
2084
|
|
POST
|
Are you talking about this sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid I don't see why adding xmlns:esriPrimitives worked when this specific example does not use it. I do know that you may need to add project reference to System.Windows.Controls.Data.Input.dll if you simply copied the code to a new Silverlight application.
... View more
02-02-2011
09:13 PM
|
0
|
0
|
466
|
|
POST
|
I believe this is because putting an empty string changes the type of that column. How about using a designated number for missing value (i.e. -1)?
... View more
02-02-2011
08:39 PM
|
0
|
0
|
630
|
|
POST
|
Have you tried running the same query through your web browser? For example this: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/HomelandSecurity/operations/MapServer/0/query?text=&geometry=&geometryType=esriGeometryPoint&inSR=&spatialRel=esriSpatialRelIntersects&relationParam=&objectIds=&where=1%3D1&time=&returnIdsOnly=false&returnGeometry=true&maxAllowableOffset=&outSR=&outFields=*&f=html Do you get the same fields returned regardless if the field property is not checked to be visible?
... View more
02-02-2011
08:26 PM
|
0
|
0
|
860
|
|
POST
|
I don't know if you had found your answer but this help doc from ArcGIS Server might help http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#//002q00000079000000.htm.
... View more
02-02-2011
07:59 PM
|
0
|
0
|
811
|
|
POST
|
You can subscribe to InitializationFailed event and also use Fiddler to troubleshoot your application. Here's how: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx
... View more
02-02-2011
07:04 PM
|
0
|
0
|
1219
|
|
POST
|
Are you using WPF4 on a touch-enabled device? If yes, you may need to set Stylus.IsPressAndHoldEnabled=�?�False�?� as described in this blog http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2010/10/16/touched-part-2-raw-touch-events.aspx. I had similar issue where touch events do not get fired until it seems to detect a gesture and came across one of Mike Taulty's blog. If you are using Silverlight, you can refer to this article http://msdn.microsoft.com/en-us/magazine/ff798276.aspx In Silverlight, triggers have been largely banished and replaced with the VSM, partially to provide a more structured approach to dynamically changing the characteristics of a control at run time, and partially to avoid dealing with all the different combinations of possibilities when multiple triggers are defined. The VSM is considered to be such an improvement over triggers that it has become part of WPF in the Microsoft .NET Framework 4
... View more
01-25-2011
10:19 PM
|
0
|
0
|
924
|
| 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
|