|
POST
|
Ya, I never found a solution. We ended up getting a different data dump and it is working now. Have no real idea of the problem, just that everything indicates it was geo-db related
... View more
04-30-2015
09:56 AM
|
0
|
0
|
788
|
|
POST
|
Carmen Mittermueller Pascal Mouquet Anyone figure this out? Having the same issue, and I know the document is not locked.
... View more
02-26-2015
11:58 AM
|
0
|
0
|
788
|
|
POST
|
I have a similar problem in that I use Visual Studio 2012 which is not supported by 10.1. What I did was to have the Visual Studio project just build the DLL, i.e. I did not use the ESRI template. I then added a step which creates the add-in "package" myself. Could you please give a little more detail on how you do the 'package' step. This is what I am trying to do and have not quite figured out Thanks -Joe
... View more
05-17-2013
05:54 AM
|
0
|
0
|
2228
|
|
POST
|
Nothing incorrect about the above code but I think this is a bit easier to read and I think should work.
private static string GetValue(FrameworkElement frameworkElement)
{
var textBlock = frameworkElement as TextBlock;
if ( textBlock == null ) return null;
return textBlock.Text;
}
... View more
08-07-2012
02:54 AM
|
0
|
0
|
2251
|
|
POST
|
This is along the lines of what I was thinking. I have not tested it or anything so no guarantees.
... View more
07-27-2012
10:57 PM
|
0
|
0
|
702
|
|
POST
|
Glad you came up with something. My other thought was putting a DependencyProperty for FloatingWIndowHost to pass it into the Action. Good Luck
... View more
07-25-2012
08:52 PM
|
0
|
0
|
702
|
|
POST
|
Jonathan, Thanks! It really was that simple. Now to just figure out how to add images. Thanks, John Put an <Image Source="MyLocalImageURI" /> into the appropriate InfoWIndowTemplate where you want and it will show an image.
... View more
07-23-2012
04:01 AM
|
0
|
0
|
696
|
|
POST
|
Hi, Thank you for your response. But, how to remove the parent container after pressing the button "Apply" ? Thank's Fabiano FeatureDataForm has an EditEnded event which fires after the Apply button is clicked and the edit is applied. Add a handler for the event and close the form there. Good Luck
... View more
07-23-2012
03:56 AM
|
0
|
0
|
573
|
|
POST
|
I agree that it seems that it should work as you describe, but the binding is a one way binding from the DataPoint to the Graphic only. So Selecting the Graphic does not change the ViewModel, but changng IsSelected on the ViewModel will update the Graphic
private void GraphicsLayer_MouseLeftButtonDown(object sender, ESRI.ArcGIS.Client.GraphicMouseButtonEventArgs e)
{
//Get the bound ViewModel
var dataPoint = e.Graphic.Attributes["DataContext"] as DataPoint;
if ( dataPoint == null ) return;
//Change IsSelected - will change the Graphic also
dataPoint.IsSelected = !dataPoint.IsSelected;
}
I believe this would toggle the Selected state of both Graphic and DataGrid in one shot Good Luck
... View more
07-22-2012
10:23 PM
|
0
|
0
|
522
|
|
POST
|
Take a look at this sample in the Map Gallery. I believe it does exactly what you need http://www.arcgis.com/home/item.html?id=efcc15ef279f4f73a39bf06fb117ec68
... View more
07-20-2012
04:14 AM
|
0
|
0
|
1700
|
|
POST
|
The most straightforward way would be to define another symbol in XAML (with different key) that is what you want. Then in code simply change the symbol of the graphic to this new symbol at the place you want in code
existing_graphic.Symbol = LayoutRoot.Resources["NewStrobeMarkerSymbol"] as Symbol
... View more
07-19-2012
10:49 PM
|
0
|
0
|
748
|
|
POST
|
Your sample code does not show how you are defining the TextSymbol in XAML or setting the TextSymbol in code so it is pretty hard to know what is happening.
... View more
07-19-2012
09:16 PM
|
0
|
0
|
2365
|
|
POST
|
hi, just installed the new 3.0 API because I need that for some new functionality, but, unless I'm mistaken, it appears that the Toolbar object is no longer there. In my coding, I'm getting the message "The name Toolbar does not exist in the namespace http://schemas.esri.com/arcgis/client/2009" and it doesn't appear in the list of ESRI objects that comes up when I try to type it in. It's also not in the samples anymore. I've been using this in previous sites and I want to continue using it. I'm not sure why it would be taken out but if this is the case, is there a way to have the present application I'm building use the previous API? Thank much! Dan The toolbar has been removed from the 3.0 API http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#//0166000000m9000000 You can not mix the APIs in a application, you either use 3.0 or you use 2.x, so if you want the new features you will need to remove the toolbar code
... View more
07-19-2012
09:03 PM
|
0
|
0
|
977
|
|
POST
|
One way that should work would be to create a GraphicsLayer and add all the features to it
private void QueryTask_ExecuteCompleted(Object sender, ESRI.ArcGIS.Client.Tasks.QueryEventArgs args)
{
FeatureSet featureSet;
featureSet = args.FeatureSet;
GraphicsLayer graphicsLayer = new GraphicsLayer();
if ( featureSet.Features.Count > 0 )
{
graphicsLayer.GraphicsSource = featureSet.Features;
MyMap1.ZoomTo(graphicsLayer.FullExtent);
}
else
{
MessageBox.Show("No f returned from query");
}
}
I think this would still work even though the GraphicsLayer is not added to the map
... View more
07-19-2012
07:25 AM
|
0
|
0
|
414
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-23-2025 12:16 PM | |
| 1 | 10-19-2022 01:08 PM | |
| 1 | 09-03-2025 09:25 AM | |
| 1 | 04-16-2025 12:37 PM | |
| 1 | 03-18-2025 12:17 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-04-2025
04:12 PM
|