Avatar

Level 3

Ok, found the problem. I wan't properly qualifying the name of the Delete button. I had to add an additional "parent" to the name thus:

(this.parent.parent.index)

Just relying on ctl to give the fully qualified name was not sufficient.