Select to view content in your preferred language

check if editing is allowed

461
1
09-02-2010 11:43 PM
MannusEtten
Emerging Contributor
I already made some functionality to test if a feature is allowed to be inserted into the featureclass. I used the templatepicker for this.

Now I want to put an extra button to my application. Only when this button is clicked a few of the templatepicker-buttons will be enabled. How can I arrange this? The buttons which I mention are the buttons for placing new features on the map.
0 Kudos
1 Reply
JenniferNery
Esri Regular Contributor
If you look at the TemplatePicker's DefaultStyle, it's ItemTemplate's DataTemplate is a Button that uses Command, which dictates when the button will be enabled. If you will be using your own function to determine when these buttons are enabled, maybe you don't need a TemplatePicker?
0 Kudos