Select to view content in your preferred language

edit vertices behavior problem

510
2
12-20-2011 02:20 PM
ForamParikh
Regular Contributor
Hello everyone,

I have one problem in edit vertices.edit vertices is working fine only problem is to complete editing user has to click on feature i want something if after editing line or polygon if user click outside any where on map it should ask me to save the vertices i mean it should change the mode from edit to complete.

Please help,
Thanks
Foram
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Did you look at this sample?

StopEdit is called when the user clicks on the map:

private void MyMap_MouseClick(object sender, ESRI.ArcGIS.Client.Map.MouseEventArgs e)
{
    editGeometry.StopEdit();
}


Seems to be what you are looking for.
0 Kudos
ForamParikh
Regular Contributor
Thanks Dominique BROUX,

But i am not using editgeometry I am using editor to edit vertices and in editor there is no method like stopedits(),

Please help me how to stop edits on mouse click or button click.

Please help,

Thanks
Foram
0 Kudos