Difference between revisions of "ESRI Silverlight & WPF"

From Richard's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
* Download ESRI SDKs for Silverlight and WPF from [http://resources.esri.com/arcgisserver/apis/silverlight/ http://resources.esri.com/arcgisserver/apis/silverlight/], link on right hand side
 
* Download ESRI SDKs for Silverlight and WPF from [http://resources.esri.com/arcgisserver/apis/silverlight/ http://resources.esri.com/arcgisserver/apis/silverlight/], link on right hand side
 +
* [http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=16273 Silverlight Geometry Editor]
  
 
== QueryTask not returning all features (Only first 500...) ==
 
== QueryTask not returning all features (Only first 500...) ==

Revision as of 23:34, 11 March 2010

QueryTask not returning all features (Only first 500...)

    • Go to your service configuration file directory, and locate the appropriate configuration file:

<ArcGIS install location>\Server\user\cfg\<configuration file name>.cfg

    • Change the MaxRecordCount setting:

<MaxRecordCount>500</MaxRecordCount>

    • Restart ArcGIS Server services, eg using Server Manager. !! This is insufficient - rebooting the server will force rereading of the cfg file, haven't found anything less draconian yet 3Mar2010 !!

http://beacon-gis-t/ArcGIS/Manager


How to fix design-time problems in VS2008

To get this version of WPF samples to work correctly at design time, I had to do the following as well as instructions included in the samples page (http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/help/index.html , Samples/Interactive SDK section, at the bottom of the page refers to the WPF SDK download)::


  • Download & install the Expression Blend 3 SDK from here:
 http://www.microsoft.com/downloads/details.aspx?FamilyID=f1ae9a30-4928-411d-970b-e682ab179e17&displaylang=en


  • Add the following two references to the project (these are redistributables):
 Microsoft.Expression.Interactions
 System.Windows.Interactivity
 
 
  • In the solution, edit the file LightPage.xaml ,and change references to each of the following:
   {StaticResource HoverShineBrush}
   {StaticResource PressedBrush}
   {StaticResource ShineBrush}
   {StaticResource HoverShineBrush}
 to:
   {StaticResource HoverBrush}