<?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 DataGrid commit button not enabled in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559828#M14396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do I have to do to enable the commit button in my DataGrid? I can edit this data with a featureDataForm but when I try to do it with a datagrid the commit button does not become enabled. The datform isenabled = true and isreadonly = false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 16:37:39 GMT</pubDate>
    <dc:creator>DonFreeman</dc:creator>
    <dc:date>2011-02-15T16:37:39Z</dc:date>
    <item>
      <title>DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559828#M14396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do I have to do to enable the commit button in my DataGrid? I can edit this data with a featureDataForm but when I try to do it with a datagrid the commit button does not become enabled. The datform isenabled = true and isreadonly = false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any suggestions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559828#M14396</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-02-15T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559829#M14397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using FeatureDataGrid? If yes, do you have GraphicsLayer property bound to a FeatureLayer from feature service? Is this FeatureLayer set to AutoSave=False?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I have more questions than answers. Basically, FDG decides to enable Commit based on these settings. If FeatureLayer is read-only (using map service) or if AutoSave is true (by default it is true), then Commit will be disabled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559829#M14397</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-15T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559830#M14398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it's a FeatureDataGrid. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the GraphicsLayer is bound to a FeatureLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The featureLayer AutoSave is set to true. Setting it to false makes no difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the same basic setup as I have for a FeatureDataForm (different page) which works OK.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 17:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559830#M14398</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-02-15T17:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559831#M14399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With AutoSave="True" on the FeatureLayer, FeatureDataGrid's Commit button is disabled because it does not require calling SaveEdits(). Any change to the layer are automatically pushed to the server. You need to set this to False if you want to explicitly perform the save with the Commit button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureDataForm Apply button only means you are done editing but it does not commit a save (unless AutoSave is true) unlike FeatureDataGrid's Commit button.&amp;nbsp; With AutoSave="False", you need to explicitly call SaveEdits() on FeatureDataForm's EditEnded. FeatureDataGrid on the other hand, will handle the save when you click "Commit".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 20:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559831#M14399</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-15T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559832#M14400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;With AutoSave="True" on the FeatureLayer, FeatureDataGrid's Commit button is disabled because it does not require calling SaveEdits(). Any change to the layer are automatically pushed to the server. You need to set this to False if you want to explicitly perform the save with the Commit button.&lt;BR /&gt;&lt;BR /&gt;FeatureDataForm Apply button only means you are done editing but it does not commit a save (unless AutoSave is true) unlike FeatureDataGrid's Commit button.&amp;nbsp; With AutoSave="False", you need to explicitly call SaveEdits() on FeatureDataForm's EditEnded. FeatureDataGrid on the other hand, will handle the save when you click "Commit".&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, that's all well and good except the commit button is still not enabled when Autosave is set to false. See below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:FeatureLayer ID="AllAvailableLayer" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://gismaps.pagnet.org/ArcGIS/rest/services/testprojectALLBikeCounts/FeatureServer/0"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SelectionColor="Yellow"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Renderer="{StaticResource AllRenderer}"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OutFields="*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisableClientCaching="True"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoSave="False"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MouseLeftButtonUp="FeatureLayer_MouseLeftButtonUp" /&amp;gt;

&amp;lt;!--and--&amp;gt; 

&amp;lt;esri:FeatureDataGrid x:Name="MyDataGrid" Grid.Column="0" Grid.Row="1" 
&amp;nbsp;&amp;nbsp;&amp;nbsp; Map="{Binding ElementName=MyMap}"
&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer="{Binding ElementName=MyMap, Path=Layers.[AllAvailableLayer]}"
&amp;nbsp;&amp;nbsp;&amp;nbsp; IsReadOnly="False"
&amp;nbsp;&amp;nbsp;&amp;nbsp; IsEnabled="True"
&amp;nbsp;&amp;nbsp;&amp;nbsp; AlternatingRowBackground="BurlyWood"
&amp;nbsp;&amp;nbsp;&amp;nbsp; AreRowDetailsFrozen="False"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Errata - I just discovered that it does become enabled AFTER I move the pointer off the edited record. Is this normal behavior? Is there a way to enable it when the editing begins (like the dataform) or after moving from the edited column?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559832#M14400</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2021-12-12T00:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559833#M14401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The expected behavior is that Commit button will be enabled once an edit to a field have been submitted (which you do when you leave the TextBox). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can refer to the following example: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataGrid"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataGrid&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Commit button does not re-enable on TextChanged, it is only after you the TextBox looses focus that the change is detected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 18:22:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559833#M14401</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-16T18:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559834#M14402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The expected behavior is that Commit button will be enabled once an edit to a field have been submitted (which you do when you leave the TextBox). &lt;BR /&gt;&lt;BR /&gt;You can refer to the following example: &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataGrid"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolkitFeatureDataGrid&lt;/A&gt;. &lt;BR /&gt;&lt;BR /&gt;Commit button does not re-enable on TextChanged, it is only after you the TextBox looses focus that the change is detected.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Actually, the commit button in the sample does not become enabled until you leave the edited row. (At least when run on my box.) It would be better if it worked at the textbox level.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 20:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559834#M14402</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-02-16T20:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559835#M14403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yup, you are right. I meant to make a correction on my previous post. Edit on the feature attribute is detected when the row looses focus. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spoke with my colleague who worked on it and the reason for this design is subscribing to a TextChanged will be an expensive ("chatty") check.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 23:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559835#M14403</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-02-16T23:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559836#M14404</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;i have a problem in saving data on sde database i click commit but when i rerun the application the saves are not commited&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jul 2011 12:36:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559836#M14404</guid>
      <dc:creator>KareemMorsy1</dc:creator>
      <dc:date>2011-07-31T12:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559837#M14405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can suscribe to FeatureLayer.EndSaveEdits and FeatureLayer.SaveEditsFailed events. Also try to run Fiddler to see the server detailed response on failure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2011 17:09:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559837#M14405</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-01T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559838#M14406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can suscribe to FeatureLayer.EndSaveEdits and FeatureLayer.SaveEditsFailed events. Also try to run Fiddler to see the server detailed response on failure.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have implemented end save edits and saveeditsfailed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i got this error message unable to completer operation while editing attributes&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but while deleting records it is deleted successfuly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any restrictions on data i use&amp;nbsp; i am using oracle sde with personal database once and geodatabase once .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 04:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559838#M14406</guid>
      <dc:creator>KareemMorsy1</dc:creator>
      <dc:date>2011-08-02T04:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: DataGrid commit button not enabled</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559839#M14407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this might be a related thread: &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/29046-Editing-standalone-ORACLE-table"&gt;http://forums.arcgis.com/threads/29046-Editing-standalone-ORACLE-table&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 03:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/datagrid-commit-button-not-enabled/m-p/559839#M14407</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-08-04T03:42:24Z</dc:date>
    </item>
  </channel>
</rss>

