Hi,
I'm trying to activate the export table in code (So i select a layer and call the ICommand).
The problem is that I previously need to activate the content pane. How I active the Content pane in code.
I think i need this but, if so, I can't find the ID of the pane.
Solved! Go to Solution.
Hi,
I've found the solution. You need to activate the TAB where that command is present. For some reason at first click it doesn't work so i create an eventhandler which is activated only in the case the button is in not execute state. This eventhandler is fired when the buttton state change from "not can execute" to "can execute".
Hi,
I found the daml ID of the contenten pane (I've found in the DAML ID reference under Dockpane)
"esri_core_contentsDockPane"
I still cannot execute the ICommand. What I'm missing?
The actual workflow is this:
1) I activate the Content dockpane
2)I execute The Command export table
What I'm missing?
Hi,
I've found the solution. You need to activate the TAB where that command is present. For some reason at first click it doesn't work so i create an eventhandler which is activated only in the case the button is in not execute state. This eventhandler is fired when the buttton state change from "not can execute" to "can execute".