Found the issue, I was using Visual Studio Express Edition. After installing the Professional Edition, its working now
I have one more question, I created a form template(*.xsn) which has recursive choice elements.
How can I add event listener for the <insert item>? - For example: The main element(Partition name) has four choices, when user clicks on <Insert Partition> then it should trigger an event listener which will hide the remaining choice items
An example would be great. I have attached the template FYR
Thank you