# NotSupportedException error shape

**URL:** <https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027>\
**Category:** Silverlight\
**Created:** [November 27, 2013, 12:35am UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027 "2013-11-27T00:35:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhang](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@zhang](https://community.thinkgeo.com/u/zhang)\
**Post date:** [November 27, 2013, 12:35am UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027/1 "2013-11-27T00:35:58Z")

</div>

in&nbsp;client&nbsp;side&nbsp;i&nbsp;want&nbsp;edit&nbsp;shapefile&nbsp;  
  
  
  
ShapeFileFeatureLayer&nbsp;statesLayer&nbsp;=&nbsp;new  
ShapeFileFeatureLayer("test.shp",  
ShapeFileReadWriteMode.ReadWrite);  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
((ShapeFileFeatureSource)statesLayer.FeatureSource).StreamLoading&nbsp;+=&nbsp;new  
EventHandler\<streamloadingeventargs\>(StatesLoadAShapeFile\_StreamLoading);  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;feature.ColumnValues.Add("id",&nbsp;"1");  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
feature.ColumnValues.Add("name",  
"test");  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
statesLayer.Open();  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
statesLayer.FeatureSource.BeginTransaction();  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
statesLayer.FeatureSource.AddFeature(feature);  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
TransactionResult&nbsp;tr&nbsp;=&nbsp;statesLayer.FeatureSource.CommitTransaction();&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;Exception&nbsp;&nbsp;System.NotSupportedException  
?  
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;statesLayer.Close();&nbsp;&nbsp;\</streamloadingeventargs\>

---

<div class="post-metadata">

**Author:** ![zhang](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@zhang](https://community.thinkgeo.com/u/zhang)\
**Post date:** [November 27, 2013, 12:39am UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027/2 "2013-11-27T00:39:44Z")

</div>

can&nbsp;client&nbsp;side&nbsp;edit&nbsp;shapefile&nbsp;?

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [November 27, 2013, 11:50pm UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027/3 "2013-11-27T23:50:48Z")

</div>

Hi&nbsp;Zhang,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;are&nbsp;sorry&nbsp;to&nbsp;say&nbsp;the&nbsp;SilverLight&nbsp;Edition&nbsp;don’t&nbsp;support&nbsp;that&nbsp;feature&nbsp;as&nbsp;we&nbsp;can’t&nbsp;save&nbsp;the&nbsp;modifications&nbsp;back&nbsp;from&nbsp;client&nbsp;to&nbsp;the&nbsp;shape&nbsp;file&nbsp;in&nbsp;the&nbsp;server&nbsp;side.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;Johnny

---

<div class="post-metadata">

**Author:** ![zhang](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/z/aeb1de/32.png) [@zhang](https://community.thinkgeo.com/u/zhang)\
**Post date:** [November 27, 2013, 11:57pm UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027/4 "2013-11-27T23:57:59Z")

</div>

&nbsp;Hello&nbsp;Johnny

&nbsp;&nbsp;&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;reply

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [November 28, 2013, 12:23am UTC](https://community.thinkgeo.com/t/notsupportedexception-error-shape/7027/5 "2013-11-28T00:23:59Z")

</div>

Zhang,&nbsp;  
&nbsp;&nbsp;  
&nbsp;You&nbsp;are&nbsp;welcome.&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;any&nbsp;inconvenience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;Johnny
