I have a row table bound to a list on xsd and it is working fine, displaying all rows present on my xml.
This is the code:
So, why isn't the click event working but the initialize is?
By the way, my form has 3 different master pages, and I am beggining to think this is the problem, since I can make the above code work on a blank form with a single master page.
My guess is that the subform TablePagamento is in a different context that the button so it cannot be found. Try pathing your way from the root all the way down to the subform.....so it should look something like this:
a) For Subforms check Binding Tab (Repeat Subform for each data item)
b) For Components Check Min Count & Max Count
If you have multiple Subforms within Subforms within Subforms...
definatly check the above two points, they will sort you out!
Start a new document. Try it with one Subform. MAke it work, then add another subform that encapsulates the original subform and try make it work.. etc! until it represents your form structure! You will learn how the min/max works.