Select to view content in your preferred language

Editor widget catagorize features in groups

614
1
09-27-2011 01:27 AM
ManojrajTeli
Deactivated User
Is it possible to group some features from layers into groups somewhat into accordion or drop down list and is it possible to put header text (of featurelayer name) on attribute window that pop out when features are generated.Please reply i need it urgently and thank you in advance.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
This forum post sounds familiar and I may have answered this on a different thread.

The FeatureDataForm used in EditorWidget for attribute editing cannot be styled but you can do the following:

Set ShowAttributesOnAdd to False so that you can handle this on your own.

Customize the look and feel of FeatureDataForm by following these steps: http://blogs.esri.com/Dev/blogs/silverlightwpf/archive/2010/05/20/Use-control-templates-to-customize... so you can include FeatureLayer name.

Subscribe to EditorWidget.EditCompleted event, you can set FeatureDataForm.GraphicSource and FeatureDataForm.FeatureLayer in this event handler when e.Action == Editor.EditAction.Add by iterating through e.Edits.

You can also download ESRI.ArcGIS.Client.Toolkit and use a different control for displaying attributes: http://esrisilverlight.codeplex.com/
0 Kudos