<?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: Print function and  incorrect json in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58267#M1482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried to disable client caching?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Printing~ESRI.ArcGIS.Client.Printing.PrintTask~DisableClientCaching.html"&gt;http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Printing~ESRI.ArcGIS.Client.Printing.PrintTask~DisableClientCaching.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 12:02:04 GMT</pubDate>
    <dc:creator>JohanCarlsson</dc:creator>
    <dc:date>2012-11-29T12:02:04Z</dc:date>
    <item>
      <title>Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58266#M1481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working with the 10.1 print task and I get some odd results.&amp;nbsp; The problem is that when I send maps to the server, the returned output would be a map that I had previously sent.&amp;nbsp; It is as if it cycles through all the previous maps -- I had to keep clicking the export map button until I got to the correct output. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked the json with fiddler, and it is for the current display on the screen.&amp;nbsp; But when the pdf shows up, it is a previous map.&amp;nbsp; Is there a way to clear out the old json before starting the new map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody have any ideas?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Silverlight 4,&amp;nbsp; api 3.0, ArcGIS 10.1 and VS 2010&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 21:01:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58266#M1481</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2012-11-27T21:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58267#M1482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried to disable client caching?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Printing~ESRI.ArcGIS.Client.Printing.PrintTask~DisableClientCaching.html"&gt;http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client.Printing~ESRI.ArcGIS.Client.Printing.PrintTask~DisableClientCaching.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 12:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58267#M1482</guid>
      <dc:creator>JohanCarlsson</dc:creator>
      <dc:date>2012-11-29T12:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58268#M1483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Johan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I disabled the client caching.&amp;nbsp; I have found that it only seems to do this from my computer and not the clients, both in debugging and production versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 19:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58268#M1483</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2012-11-29T19:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58269#M1484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Johan,&lt;BR /&gt;&lt;BR /&gt;Yes, I disabled the client caching.&amp;nbsp; I have found that it only seems to do this from my computer and not the clients, both in debugging and production versions.&lt;BR /&gt;&lt;BR /&gt;Chris&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you get the same results if you try a local print, i.e. remove your url to the print task?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 05:21:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58269#M1484</guid>
      <dc:creator>JohanCarlsson</dc:creator>
      <dc:date>2012-11-30T05:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58270#M1485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Johan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it this morning and it worked as expected.&amp;nbsp; I need to put this aside for the time being.&amp;nbsp; Thanks for the help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2012 14:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58270#M1485</guid>
      <dc:creator>ChrisBradberry</dc:creator>
      <dc:date>2012-11-30T14:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Print function and  incorrect json</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58271#M1486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found that this solution overcame the client cache problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private void printTask_PrintCompleted(object sender, PrintEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//open exported map in new browser window&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Random random = new Random();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uri u = new Uri(e.PrintResult.Url + "?Unused=" + random.Next().ToString());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Windows.Browser.HtmlPage.Window.Navigate(u, "_blank");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 13:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/print-function-and-nbsp-incorrect-json/m-p/58271#M1486</guid>
      <dc:creator>KurtWille</dc:creator>
      <dc:date>2013-01-04T13:47:39Z</dc:date>
    </item>
  </channel>
</rss>

