<?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: EditorWidget Attribute table events in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96704#M2439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In studying the toolkit code for the EditorWidget, I see that the ShowAttributesForm method is actually called by the Layer_MouseLeftButtonDown method (after the displayAttribute value has been set to true in DisplayAttribute_Click().&amp;nbsp; The ShowAttributesForm is in TemplatePicker.cs; thus the form shown by the EditorWidget and the TemplatePicker are identical and launched in the same method.&amp;nbsp; The difference in accessing events seems to be that TemplatePicker includes this command:&amp;nbsp; "public event EventHandler&amp;lt;ESRI.ArcGIS.Client.Editor.EditEventArgs&amp;gt; EditCompleted". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I attempted to add the same command to EditorWidget.cs.&amp;nbsp; The Editor_EditCompleted method immediately showed an error on this line: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"EventHandler&amp;lt;ESRI.ArcGIS.Client.Editor.EditEventArgs&amp;gt; handler = EditCompleted";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to the effect that the member is defined more than once.&amp;nbsp;&amp;nbsp; I modified the code slightly to use the same Editor_EditCompleted method, OnEditCompleted method, and public event command sequence as in TemplatePicker.cs.&amp;nbsp; The same error message appeared.&amp;nbsp; Please advise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Dec 2011 08:31:35 GMT</pubDate>
    <dc:creator>JudyTroutwine</dc:creator>
    <dc:date>2011-12-28T08:31:35Z</dc:date>
    <item>
      <title>EditorWidget Attribute table events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96702#M2437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The attribute table (seems identical to a FeatureDataForm that can be customized when adding features) used to view and edit attribute values in the EditorWidget does not seem to be customizable or accessible by code in general.&amp;nbsp; Can one set up event procedures?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 07:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96702#M2437</guid>
      <dc:creator>JudyTroutwine</dc:creator>
      <dc:date>2011-12-14T07:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: EditorWidget Attribute table events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96703#M2438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is correct, EditorWidget's display attribute show an instance of FeatureDataForm, events like EditEnded are not accessible from here. You can download source code to the toolkit from here: &lt;/SPAN&gt;&lt;A href="http://esrisilverlight.codeplex.com/"&gt;http://esrisilverlight.codeplex.com/&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to change this behavior, you can add update the EditorWidget style by following these steps: &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/28/Localizing-ArcGIS-Controls.aspx"&gt;http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/28/Localizing-ArcGIS-Controls.aspx&lt;/A&gt;&lt;SPAN&gt;. You can then implement a different button click event for displaying attributes by creating an instance of FeatureDataForm, this will give you access to its events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:31:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96703#M2438</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-12-14T16:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: EditorWidget Attribute table events</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96704#M2439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In studying the toolkit code for the EditorWidget, I see that the ShowAttributesForm method is actually called by the Layer_MouseLeftButtonDown method (after the displayAttribute value has been set to true in DisplayAttribute_Click().&amp;nbsp; The ShowAttributesForm is in TemplatePicker.cs; thus the form shown by the EditorWidget and the TemplatePicker are identical and launched in the same method.&amp;nbsp; The difference in accessing events seems to be that TemplatePicker includes this command:&amp;nbsp; "public event EventHandler&amp;lt;ESRI.ArcGIS.Client.Editor.EditEventArgs&amp;gt; EditCompleted". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I attempted to add the same command to EditorWidget.cs.&amp;nbsp; The Editor_EditCompleted method immediately showed an error on this line: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"EventHandler&amp;lt;ESRI.ArcGIS.Client.Editor.EditEventArgs&amp;gt; handler = EditCompleted";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to the effect that the member is defined more than once.&amp;nbsp;&amp;nbsp; I modified the code slightly to use the same Editor_EditCompleted method, OnEditCompleted method, and public event command sequence as in TemplatePicker.cs.&amp;nbsp; The same error message appeared.&amp;nbsp; Please advise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Dec 2011 08:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/editorwidget-attribute-table-events/m-p/96704#M2439</guid>
      <dc:creator>JudyTroutwine</dc:creator>
      <dc:date>2011-12-28T08:31:35Z</dc:date>
    </item>
  </channel>
</rss>

