Select to view content in your preferred language

Difference between EditorWidget and Editor class.

661
3
11-19-2010 08:17 PM
SanajyJadhav
Deactivated User
Hi Folks,

In the online documentation, we can see two examples under Editing section of Silverlight API. Both nearly do the same thing, i.e. feature editing (add,delete etc.)

I am really confused which way should I go to have editing in my application. Can anybody tell me the difference between these two, i.e. EditorWidget and Editor class? Or is it like, Editor widget is using Editor class behind the scenes? I understand that widget is giving us ready-to-use UI for editor control. Is it the only difference?

I appreciate any help on this issue to get my mind straight.

Thanks,Sanjay.
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
I think you got the point.

EditorWidget is an implementation of an UI editing tool using behing the scene the editor class.

In a first time, I suggest you start using the editor widget which is easier to use.
0 Kudos
wangzhifang
Frequent Contributor
In case of you are going to write code to implement the edit logic:
editing the geometry, using the Editor class
editng the attachments, using the FeatureLayer class
0 Kudos
SanajyJadhav
Deactivated User
Thanks for getting back to me.

I appreciate your help.
0 Kudos