<?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: Switch to pan mode when using editor in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152203#M3831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jennifer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Worked like a charm . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;De Wet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 05:30:03 GMT</pubDate>
    <dc:creator>De_WetEllis</dc:creator>
    <dc:date>2011-09-16T05:30:03Z</dc:date>
    <item>
      <title>Switch to pan mode when using editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152201#M3829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can switch back to pan mode when using the Esri:Editor. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the user enables selection on my custom tool a feature layer is added according to the Layer selected. When the user has finished selecting features the selected features are sent back to the web browser by clicking on a submit button. How can I enable the pan mode when the user has finished selecting the features. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont want to disable the ContinuousMode because the user needs to be able to select multiple features without having to keep on clicking the add button. The ContinuousMode when disabled after a few features has been selected still requires a last action to be performed before the Action is canceled. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping to revert to pan mode when the user clears the selected features or on submit when sending the data back to the web page. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;De Wet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 07:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152201#M3829</guid>
      <dc:creator>De_WetEllis</dc:creator>
      <dc:date>2011-09-15T07:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to pan mode when using editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152202#M3830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using EditorWidget &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitEditorWidget&lt;/A&gt;&lt;SPAN&gt; or Editor &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsAutoSave&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Either way, you can wire up to EditCompleted (applicable to both EditorWidget and Editor) and only call Cancel for other commands so Add may remain Continuous=True.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
void EditorWidget_EditCompleted(object sender, Editor.EditEventArgs e)
{
 if (e.Action != Editor.EditAction.Add || e.Action != Editor.EditAction.Cancel)
 {
&amp;nbsp; Editor editor = null;
&amp;nbsp; if (sender is EditorWidget)
&amp;nbsp;&amp;nbsp; editor = (sender as EditorWidget).DataContext as Editor;
&amp;nbsp; else
&amp;nbsp;&amp;nbsp; editor = sender as Editor;
&amp;nbsp; if (editor != null &amp;amp;&amp;amp; editor.CancelActive.CanExecute(null))
&amp;nbsp;&amp;nbsp; editor.CancelActive.Execute(null);
 }
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:09:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152202#M3830</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T08:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Switch to pan mode when using editor</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152203#M3831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jennifer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Worked like a charm . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;De Wet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 05:30:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/switch-to-pan-mode-when-using-editor/m-p/152203#M3831</guid>
      <dc:creator>De_WetEllis</dc:creator>
      <dc:date>2011-09-16T05:30:03Z</dc:date>
    </item>
  </channel>
</rss>

