<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Publishing Silverlight 4 app in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668302#M17209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Will -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry to go (slightly) off topic here, but was wanting to inquire if you made any progress in your efforts to edit via RIA Services as described on &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=293269&amp;amp;g=1"&gt;this thread you started &lt;/A&gt;&lt;SPAN&gt;(which is now closed for comment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cross posted &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/3958/are-there-any-tools-for-editing-sql-server-spatial-types-in-silverlight"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Kirk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Nov 2010 18:38:57 GMT</pubDate>
    <dc:creator>KirkKuykendall</dc:creator>
    <dc:date>2010-11-29T18:38:57Z</dc:date>
    <item>
      <title>Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668300#M17207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have no idea what I'm doing wrong here.&amp;nbsp; I've developed a Silverlight 4 Application and published it to my webserver.&amp;nbsp; However, it's breaking on 2 very important points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) RIA Services:&amp;nbsp; when the application loads, a record is created and added to a table.&amp;nbsp; That's all that happens, but this is failing on the SubmitChanges() method which is located in the MainPage_Loaded event handler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Can't see the Map:&amp;nbsp; I see it just fine when I debug in VS2010, but after publishing, I just see white space.&amp;nbsp; However, I can still click on that white space and get a result from querying the map service and the Graphics Layer add the appropriate graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried loads of different options to get the first problem resolved (with no luck) but I've not seen anything that would help with the second problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or suggestions are more than welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 17:31:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668300#M17207</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-09-08T17:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668301#M17208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For the blank map issue, see this blogpost: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2009/08/24/Troubleshooting-blank-layers.aspx&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding RIA services, I suggest you try asking at &lt;/SPAN&gt;&lt;A href="http://forums.silverlight.net"&gt;http://forums.silverlight.net&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Sep 2010 21:11:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668301#M17208</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-09-08T21:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668302#M17209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Will -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry to go (slightly) off topic here, but was wanting to inquire if you made any progress in your efforts to edit via RIA Services as described on &lt;/SPAN&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=293269&amp;amp;g=1"&gt;this thread you started &lt;/A&gt;&lt;SPAN&gt;(which is now closed for comment).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cross posted &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/3958/are-there-any-tools-for-editing-sql-server-spatial-types-in-silverlight"&gt;here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Kirk&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 18:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668302#M17209</guid>
      <dc:creator>KirkKuykendall</dc:creator>
      <dc:date>2010-11-29T18:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668303#M17210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Will,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding issue #2, are you passing a callback handler to SubmitChanges() like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using System.ServiceModel.DomainServices.Client;
....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; domaincontext.SubmitChanges(Changes_Submitted, null);
....
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private void Changes_Submitted(SubmitOperation sop)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sop.HasError)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ErrorWindow.CreateNew(sop.Error);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sop.MarkErrorAsHandled();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 04:14:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668303#M17210</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2021-12-12T04:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668304#M17211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kirk,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I've made quite a bit of progress in editing via RIA Services.&amp;nbsp; In my old post that you linked to, I was asking about restricting the domain data source to a spatial query.&amp;nbsp; The idea was that I draw a shape, and my DDS populates my DataGrid with those features that intersect the drawing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've pretty much kept that same concept, but I no longer work with the DDS in Xaml to perform this function.&amp;nbsp; Here's my workflow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I have a draw function that the user selects, while it's active the user draws on a GraphicsLayer.&amp;nbsp; When the 'OnDrawComplete' event fires, I take that graphic's geometry and use it in a QueryTask to get the parcels that intersect the drawing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) On 'QueryExecuteCompleted' I loop through the returned features and grab a field which contains a GUID.&amp;nbsp; That guid is used to load that particular parcel into my DomainServiceContext (created in code-behind) using a custom Query function in the DomainServiceClass.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3) When I"m done looping through, I set my DataGrid's Itemsource to be the DomainServiceContext.&amp;nbsp; The Grid populates with all the information which is then edited by the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other than that, when I'm looping through the features, I take that time to add new graphics to a GraphicsLayer so the user can see the selected parcels.&amp;nbsp; There's also a DataGrid_SelectionChanged event that highlights the selected parcel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So yeah, I've written about ten editors using this method, or very similar to it so far, but all of them are mainly editing tables which are joined to feature classes.&amp;nbsp; Anytime I've had to edit geometries, I either use FeatureLayers, or if the edits are rare enough, do it in ArcMap and let the user edit the attributes through a table editor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 19:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668304#M17211</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-11-29T19:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing Silverlight 4 app</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668305#M17212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Daniel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I'm not using a callback handler for SubmitChanges.&amp;nbsp; I can't remember how I fixed the issues I was having as described in this thread, but I seem to remember that it was a permissions error on the server's end.&amp;nbsp; We had just gotten a new server and were in the process of moving applications over, but had missed a couple of settings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 19:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/publishing-silverlight-4-app/m-p/668305#M17212</guid>
      <dc:creator>WilliamKimrey</dc:creator>
      <dc:date>2010-11-29T19:11:31Z</dc:date>
    </item>
  </channel>
</rss>

